Skip to content

Commit 899851d

Browse files
authored
Fire callbacks after updating lock status (#168)
1 parent 6e0fbe4 commit 899851d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

switchbot/devices/lock.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ def _update_lock_status(self, data: bytearray) -> None:
164164
asyncio.create_task(self._disable_notifications())
165165

166166
self._update_parsed_data(lock_data)
167+
self._fire_callbacks()
167168

168169
@staticmethod
169170
def _parse_lock_data(data: bytes) -> dict[str, Any]:

0 commit comments

Comments
 (0)