Integrations and 'Loaded'
-
Thanks again for the recent release. One thing I wanted to ask about integrations and their 'loaded' condition:
Is there something similar that applies to the entire controller? So if I have (for example) a helper in HA that is used to trigger an automation in MSR, is it possible to effectively exclude it until MSR is 'happy' that HA is stable and its values can be trusted?
This, actually goes back to the issue I had. I've got a use case where a 30 second delay from triggering is a bit of a PITA (sustained for...) and was just wondering if there's a way of knowing that 'native' HA functions are working correctly.
Probably asking wrong, or it's hideously obvious, but...
TIA
C
-
On the system entity for each controller is
sys_system.state. For HassController, that will be true when HA is connected and inventory has been completed. It will go false when HassController is stopped (i.e. during a Reactor restart), or if the connection to your HA instance is lost and not restored after 3 reconnection retries (about 15 seconds, which is less than HA requires for restart in most real-world systems), or if authentication fails.








