diff --git a/tangostationcontrol/tangostationcontrol/devices/base_device_classes/lofar_device.py b/tangostationcontrol/tangostationcontrol/devices/base_device_classes/lofar_device.py index 406046c857acf894c7186d84f4b85721e46823e2..739ac0dca318bd028f55d45d1e58681f33567bef 100644 --- a/tangostationcontrol/tangostationcontrol/devices/base_device_classes/lofar_device.py +++ b/tangostationcontrol/tangostationcontrol/devices/base_device_classes/lofar_device.py @@ -161,6 +161,7 @@ class AttributePoller: return await self._poll() +@power_hierarchy @device_logging_to_python() @device_metrics( exclude=[ @@ -172,7 +173,6 @@ class AttributePoller: "available_in_power_state_R", ] ) -@power_hierarchy class LOFARDevice(Device): """ diff --git a/tangostationcontrol/tangostationcontrol/devices/station_manager.py b/tangostationcontrol/tangostationcontrol/devices/station_manager.py index 314ba0fb85a4b00156e6f4c29b5a30145530897c..a5a8d1fbae474cf9969ea22b59b52effcca37f1c 100644 --- a/tangostationcontrol/tangostationcontrol/devices/station_manager.py +++ b/tangostationcontrol/tangostationcontrol/devices/station_manager.py @@ -30,13 +30,13 @@ logger = logging.getLogger() __all__ = ["StationManager"] +@power_hierarchy_control @device_logging_to_python() @device_metrics( exclude=[ "last_requested_transition_exceptions_R", ] ) -@power_hierarchy_control class StationManager(AsyncDevice): """StationManager Device Server for LOFAR2.0"""