meichthys / uptime_kuma

Uptime Kuma HACS integration
110 stars 23 forks source link

[BUG] Uptime Kuma Maintenance Mode > HA Restart > Sensors Remain Unavailable until Manual Reload of Uptime Kuma Config #95

Open cyclistguy opened 7 months ago

cyclistguy commented 7 months ago

If Uptime Kuma is in maintenance mode, and Home Assistant is restarted, binary sensors will become disconnected and sensors will become "unavailable".

Once Home Assistant is fully restarted, binary sensors will reconnect, but sensors will continue to show as unavailable until the Uptime Kuma integration is manually reloaded.

meichthys commented 7 months ago

@cyclistguy are you using the HomeAssistant UptimeKuma Addon?

meichthys commented 7 months ago

This could potentially be related: https://github.com/meichthys/uptime_kuma/issues/91#issuecomment-1951323299

cyclistguy commented 7 months ago

@cyclistguy are you using the HomeAssistant UptimeKuma Addon?

No - uptime kuma is running in a separate docker container. HA is also running in a docker container. Issue is easy to reproduce. Any time UK is in maintenance mode and HA is restarted (straight restart, shutdown and then started, or HA container is updated), the issue occurs.