I’m looking for a way to detect if Wave JS-UI has restarted, such as after an update. The reason for this is I have multiple automations that monitor the state of Z-Wave devices, such as an outlet on a chest freezer. The automations alert after 15 seconds of the device becoming unknown or unavailable. These automations work well, except when the integration is updated. At some point in the update, the device becomes unavailable and the automation triggers, which gets the wife all excited about a tripped breaker if I don’t tell her it’s just another update.
I’d like to be able to watch the event bus for this activity but can’t seem to find exactly what to listen for. I’ve looked deeply at Spook (it’s installed and running) but don’t see a way there either. Component Loaded did not fire any events with a Reload or Disable/Enable of the Z-Wave integration. I really don’t want to reconfigure the automation with a longer [for:] value as it defeats the purpose. I’m actually watching almost all of the circuits in my panel box, via the connected z-wave devices.
If I can detect a change of state of the Z-Wave JS-UI integration or the underlying Z-Wave integration, I can write conditions to prevent unwanted false alarms. Does anyone know if it is possible to watch the event bus for this kind of activity?
1 Like
Go to the integration page and choose add integration. Install “home assistant supervisor”. It will give you an entity, disabled by default, that will tell you if the addon is running.
1 Like