Skip to content
Merged
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
5 changes: 3 additions & 2 deletions TheengsGateway/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,9 @@ def publish_device_info(self, pub_device) -> None: # noqa: ANN001
pub_device,
hadevice,
)
# If the properties key is "mac" or "device", skip its discovery
if k in {"mac", "device"}:
# If the properties key is "mac" or "device", or any of the
# intermediate decryption decoder properties, skip its discovery
if k in {"mac", "device", "cipher", "ctr", "mic"}:
continue
if k in pub_device["properties"]:
if pub_device["properties"][k]["name"] in ha_dev_classes:
Expand Down