diff --git a/BAC0/core/devices/Device.py b/BAC0/core/devices/Device.py index 14cf0ba..930730c 100755 --- a/BAC0/core/devices/Device.py +++ b/BAC0/core/devices/Device.py @@ -200,7 +200,7 @@ async def new_state(self, newstate: Any) -> None: :return: None """ self.log( - f"Changing {self.properties.name} state to {str(newstate).split('.')[-1]}", + f"Changing {self.properties.device_id} state to {str(newstate).split('.')[-1]}", level="info", ) self.__class__ = newstate