Skip to content

Commit

Permalink
Fix detecting empty device IDs (#669)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Mar 23, 2024
1 parent 4a90994 commit 923d7f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/spook/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def async_filter_known_device_ids(
return {
device_id
for device_id in device_ids - known_device_ids
if isinstance(device_id, str)
if device_id and isinstance(device_id, str)
}


Expand Down

0 comments on commit 923d7f6

Please sign in to comment.