diff --git a/scos_actions/hardware/mocks/mock_sigan.py b/scos_actions/hardware/mocks/mock_sigan.py index 1876851b..8367bf0d 100644 --- a/scos_actions/hardware/mocks/mock_sigan.py +++ b/scos_actions/hardware/mocks/mock_sigan.py @@ -30,6 +30,7 @@ def __init__( self, sensor_cal: Optional[Calibration] = None, sigan_cal: Optional[Calibration] = None, + switches: Optional[dict] = None, randomize_values: bool = False, ): super().__init__(sensor_cal, sigan_cal) diff --git a/scos_actions/hardware/sensor.py b/scos_actions/hardware/sensor.py index 74cbf479..c4120a33 100644 --- a/scos_actions/hardware/sensor.py +++ b/scos_actions/hardware/sensor.py @@ -1,6 +1,6 @@ +import datetime import hashlib import json -import datetime from typing import Dict from its_preselector.preselector import Preselector @@ -14,7 +14,7 @@ class Sensor: def __init__( self, - signal_analyzer: SignalAnalyzerInterface = MockSignalAnalyzer, + signal_analyzer: SignalAnalyzerInterface = None, gps: GPSInterface = None, preselector: Preselector = None, switches: Dict[str, WebRelay] = {},