New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mikrotik does not restore states #31757
Comments
Hello @tjorim , |
There are no errors in the log. Devices that are still connected show up as home fine. However, devices that are unavailable should be marked as away instead, because they are not available on the network, because they are disconnected. |
If these devices were created from the previous integration and have not been discovered by the new |
I started clean, removing old integrations and known devices. Yet devices show as |
Same problem, possible to solve it? It make harder to automate a lot of things.... (in need to handle unknown state every time...) |
Issue should originate here: https://github.com/home-assistant/core/blob/dev/homeassistant/components/mikrotik/device_tracker.py#L28. Looks similar to unifi yet it doesn't work: https://github.com/home-assistant/core/blob/dev/homeassistant/components/unifi/device_tracker.py#L54 |
For the |
Same issue for me. My observation is device-tracker entitites from Mikrotik integration are NOT in know-devices file. Before restart all works great - presence home/not home works fine. But after restart if device is away entity goes to Unavailable state. Unusable device-tracker integration for me. 👎 |
I have also this issue |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
The problem
When rebooting Home Assistant Core, I end up with a lot of unavailable entities. In HA 0.104 and older (with legacy device_tracker) this wasn't an issue and old states were restored. Now I have a bunch of entities with the following message:
Entities stay that way until the device connects back to the network (state = home) and leave after that (state = away).
Environment
Problem-relevant
configuration.yaml
Set up using config flow.
Traceback/Error logs
NA
The text was updated successfully, but these errors were encountered: