You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When a UA-Intercom is connected directly to a UGT, the update messages from the intercom are causing the integration to falsely claim the gate is open.
From tracing the code, it appears this is happen because the UA-Intercom is sending access.data.device.update messages, but the message doesn't contain a data["configs"][x]["key"] = "input_state_dps" entry. Eventually the open status clears, but I don't know yet if that is because a new message comes through or if the integration occasionally polls for status (I need to do more debug logging after it falsely reports open).
My plan to fix it is bail out of the _handle_config_update call if the appropriate key isn't present, instead of assuming the door / gate is open.
Which Hub are you using
Unifi Gate Hub + UA-Intercom
Versions:
Home Assistant version 2024.12.5
Unifi Access version 2.5.3
Unifi Access Integration version 1.2.5
Home Assistant DEBUG logs (MANDATORY)
Logs will follow in the next few days (I need to go through and make sure redactions aren't needed).
The text was updated successfully, but these errors were encountered:
Actually looks like this is a dup of #84 and isn't specific to the combination of UGT and Intercom. Closing as a dup, and I'll test the branch mentioned on that issue.
Describe the bug
When a UA-Intercom is connected directly to a UGT, the update messages from the intercom are causing the integration to falsely claim the gate is open.
From tracing the code, it appears this is happen because the UA-Intercom is sending access.data.device.update messages, but the message doesn't contain a data["configs"][x]["key"] = "input_state_dps" entry. Eventually the open status clears, but I don't know yet if that is because a new message comes through or if the integration occasionally polls for status (I need to do more debug logging after it falsely reports open).
My plan to fix it is bail out of the _handle_config_update call if the appropriate key isn't present, instead of assuming the door / gate is open.
Which Hub are you using
Unifi Gate Hub + UA-Intercom
Versions:
Home Assistant DEBUG logs (MANDATORY)
Logs will follow in the next few days (I need to go through and make sure redactions aren't needed).
The text was updated successfully, but these errors were encountered: