Skip to content

Commit

Permalink
Merge branch 'async' of https://github.com/ChristianTremblay/BAC0 int…
Browse files Browse the repository at this point in the history
…o async
  • Loading branch information
ChristianTremblay committed Sep 2, 2024
2 parents 7f3cb56 + ca48a68 commit a09c397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BAC0/core/devices/Device.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a09c397

Please sign in to comment.