hmmm this seems to be an extra issue:
I’ve written a wait function
and call it in each module e.g.
with wait.wait_available(self,“sensor.dev16_em_tot”,False)
it works fine when the module is reloaded … it also works fine when i restart the appdaemon container.
but leaving the appdaemon container running and restart home assistant fails again
16.06.2020 14:54:20 INFO energy: dev sensor.dev16_em_tot not ready
16.06.2020 14:54:21 INFO energy: dev sensor.dev16_em_tot not ready
16.06.2020 14:54:22 INFO energy: dev sensor.dev16_em_tot not ready
16.06.2020 14:54:23 INFO energy: dev sensor.dev16_em_tot not ready
16.06.2020 14:54:24 INFO energy: dev sensor.dev16_em_tot not ready
16.06.2020 14:54:25 INFO energy: dev sensor.dev16_em_tot not ready
16.06.2020 14:54:26 INFO energy: dev sensor.dev16_em_tot not ready
16.06.2020 14:54:27 INFO energy: dev sensor.dev16_em_tot not ready
16.06.2020 14:54:28 INFO energy: dev sensor.dev16_em_tot not ready
16.06.2020 14:54:29 INFO energy: dev sensor.dev16_em_tot not ready
16.06.2020 14:54:30 INFO energy: dev sensor.dev16_em_tot not ready
16.06.2020 14:54:31 INFO energy: dev sensor.dev16_em_tot not ready
16.06.2020 14:54:32 INFO energy: dev sensor.dev16_em_tot not ready
16.06.2020 14:54:33 INFO energy: dev sensor.dev16_em_tot not ready
16.06.2020 14:54:34 INFO energy: dev sensor.dev16_em_tot not ready
it almost seems like the connection isn’t ready … any idea?
I guess there is nothing like self.wait_for_hass_load_ready() right?
JKW