Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

UGT + UA-Intercom incorrectly changing vehicle gate to open #90

Closed
slyglif opened this issue Dec 31, 2024 · 1 comment
Closed

UGT + UA-Intercom incorrectly changing vehicle gate to open #90

slyglif opened this issue Dec 31, 2024 · 1 comment

Comments

@slyglif
Copy link
Contributor

slyglif commented Dec 31, 2024

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).

@slyglif
Copy link
Contributor Author

slyglif commented Dec 31, 2024

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.

@slyglif slyglif closed this as completed Dec 31, 2024
@slyglif slyglif closed this as not planned Won't fix, can't repro, duplicate, stale Dec 31, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant