-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
Bug: sensor state not updating after sleep/hibernation #204
Comments
Attempted to fix in latest release: https://github.com/LAB02-Research/HASS.Agent/releases/tag/2022.14.0 I'm unable to reproduce this, if anyone still encounters issues please let me know. |
That same Issue happened for me today, My Sensors were Unknown in Home Assistant after I restarted Home Assistant. |
You can use the PublishAllSensors command in conjunction with this automation trigger: trigger:
- platform: homeassistant
event: start Created a ticket to fix this internally: [hassagent-202] |
I noticed that after HA restarts the MQTT connection on the Satellite Service stays Disconnected. Even going to the settings and pressing Send & Activate doesn't reconnect it. Only thing I found that fixes it is to change the hostname, save, change it back. That way it reconnects. |
When resuming from sleep/hibernation, in some cases sensors aren't updated anymore (unless their values change), or HASS.Agent doesn't properly reconnect. This can also occur when Home Assistant restarts.
This is a known bug which will be addressed in a future update.
To circumvent the bug after HA restarts, you can trigger a
PublishAllSensors
command to have HASS.Agent resend all current sensor values.[#hassagent-102]
The text was updated successfully, but these errors were encountered: