Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions custom_components/keymaster/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,10 @@ async def _handle_lock_state_change(
if not event:
return

# Ignore events without a user_id - they're from zwave - let handle_zwave_js_lock_event handle it
if event.context.as_dict()["user_id"] is None:
return

changed_entity: str = event.data["entity_id"]

# Don't do anything if the changed entity is not this lock
Expand Down