diff --git a/devices/PCC.py b/devices/PCC.py index 4a76f5120f2ccde0c035821223e123e073c635cb..2ea322dbf8a39ea6b1574c9c0e5b6e7b0eab2966 100644 --- a/devices/PCC.py +++ b/devices/PCC.py @@ -120,7 +120,7 @@ class PCC(hardware_device): """ user code here. is called when the state is set to OFF """ # Stop keep-alive - self.opcua_connection.stop() + self.OPCua_client.disconnect() def initialise(self): """ user code here. is called when the state is set to INIT """