Closed janvojt closed 1 year ago
Hey there @kane610, mind taking a look at this issue as it has been labeled with an integration (unifi
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
unifi documentation unifi source (message by IssueLinks)
It seems the flipping of states on the device trackers started happening 2 days ago at 3:21 AM. Almost definitely caused by an automatic upgrade of UniFi firmware.
The reason why the device_tracker was flipping to home instead of away is probably a different issue, likely with the HA integration.
Can confirm the same thing -- mine did the same thing starting immediately after the UniFi Network update to v 7.5.174. Devices are flipping states every 5-30 seconds in the history.
How are you running your UniFi controller?
I have UDM Pro.
After upgrading homeassistant to 2023.9.0, the state flipping issue disappeared for me. @zaskem can you confirm?
Yes, I can confirm. This is no longer happening (state flipping) after updating Home Assistant to 2023.9.0
Thank you, I am closing this.
The problem
I am using UniFi Network integration to track devices connected to Wifi networks. I have a smartphone device (Samsung Galaxy A22), which was connected to guest Wifi network, and then left the house. Even after more than 30 minutes, this device keeps flipping its state between home/unavailable every few seconds.
Unifi clearly and correctly states the device disconnected at 9:53 AM and was offline since. Homeassistant integration is flipping the states. See screenshots:
What version of Home Assistant Core has the issue?
core-2023.8.4
What was the last working version of Home Assistant Core?
unknown
What type of installation are you running?
Home Assistant OS
Integration causing the issue
UniFi Network
Link to integration documentation on our website
https://www.home-assistant.io/integrations/unifi/
Diagnostics information
I am including the diagnostic data. To not publish too much sensitive info I manually removed all unrelated clients but the one with the problem.
config_entry-unifi-b2c93dca302fca5ef952fd3a780def68.json.txt
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response