diff --git a/tangostationcontrol/tangostationcontrol/devices/apsct.py b/tangostationcontrol/tangostationcontrol/devices/apsct.py
index 90a8be0d51f399d8135ddb486bd860a5d047abeb..5d2ddf5b0321712820474f1d27e83e065dcf0d81 100644
--- a/tangostationcontrol/tangostationcontrol/devices/apsct.py
+++ b/tangostationcontrol/tangostationcontrol/devices/apsct.py
@@ -74,9 +74,9 @@ class APSCT(opcua_device):
         """ Initialise the APSCT hardware. """
 
         # Cycle clock
-        self.CLK_off()
+        self.APSCT_off()
         self.wait_attribute("APSCTTR_translator_busy_R", False, 10)
-        self.CLK_on()
+        self.APSCT_on()
         self.wait_attribute("APSCTTR_translator_busy_R", False, 10)
 
         if not self.proxy.APSCT_PLL_200MHz_locked_R:
@@ -91,7 +91,7 @@ class APSCT(opcua_device):
 
     @command()
     @DebugIt()
-    @only_when_on()
+    @only_in_states([DevState.STANDBY, DevState.ON])
     def APSCT_off(self):
         """
 
@@ -101,7 +101,7 @@ class APSCT(opcua_device):
 
     @command()
     @DebugIt()
-    @only_when_on()
+    @only_in_states([DevState.STANDBY, DevState.ON])
     def APSCT_on(self):
         """
 
diff --git a/tangostationcontrol/tangostationcontrol/devices/recv.py b/tangostationcontrol/tangostationcontrol/devices/recv.py
index c713690b7b810837eb474b0f5fc133457b547640..5070b8cef0f54e5d4165701ccaefe0a637faf2d7 100644
--- a/tangostationcontrol/tangostationcontrol/devices/recv.py
+++ b/tangostationcontrol/tangostationcontrol/devices/recv.py
@@ -110,7 +110,7 @@ class RECV(opcua_device):
     # --------
     @command()
     @DebugIt()
-    @only_when_on()
+    @only_in_states([DevState.STANDBY, DevState.ON])
     def RCU_off(self):
         """
 
@@ -120,7 +120,7 @@ class RECV(opcua_device):
 
     @command()
     @DebugIt()
-    @only_when_on()
+    @only_in_states([DevState.STANDBY, DevState.ON])
     def RCU_on(self):
         """
 
@@ -130,7 +130,7 @@ class RECV(opcua_device):
 
     @command()
     @DebugIt()
-    @only_when_on()
+    @only_in_states([DevState.STANDBY, DevState.ON])
     def RCU_DTH_off(self):
         """
 
@@ -140,7 +140,7 @@ class RECV(opcua_device):
 
     @command()
     @DebugIt()
-    @only_when_on()
+    @only_in_states([DevState.STANDBY, DevState.ON])
     def RCU_DTH_on(self):
         """
 
diff --git a/tangostationcontrol/tangostationcontrol/devices/unb2.py b/tangostationcontrol/tangostationcontrol/devices/unb2.py
index c4f623c5df5846858dd8d0aa0ab5fd53dff56ac3..a937f8d42c1b06e5e2952a33dfd2d5575aaf8eed 100644
--- a/tangostationcontrol/tangostationcontrol/devices/unb2.py
+++ b/tangostationcontrol/tangostationcontrol/devices/unb2.py
@@ -21,7 +21,7 @@ from tangostationcontrol.common.entrypoint import entry
 from tangostationcontrol.clients.attribute_wrapper import attribute_wrapper
 from tangostationcontrol.devices.opcua_device import opcua_device
 from tangostationcontrol.common.lofar_logging import device_logging_to_python, log_exceptions
-from tangostationcontrol.devices.device_decorators import only_when_on
+from tangostationcontrol.devices.device_decorators import only_in_states
 
 import numpy
 
@@ -124,7 +124,7 @@ class UNB2(opcua_device):
 
     @command()
     @DebugIt()
-    @only_when_on()
+    @only_in_states([DevState.STANDBY, DevState.ON])
     def UNB2_off(self):
         """
 
@@ -134,7 +134,7 @@ class UNB2(opcua_device):
 
     @command()
     @DebugIt()
-    @only_when_on()
+    @only_in_states([DevState.STANDBY, DevState.ON])
     def UNB2_on(self):
         """