All devices unavailable
Hello, this happens with dockerized installation. I have home assistant container, mosquitto container and hisense_ac container. They start in this order when the raspberry pi 5 boots (systemd services are installed for this purpose). I see that containers starts in right order however home assistant takes time to do his internals before being fully functional. When these are done, it shows unavailable to all my MQTT HVAC. The only way to recover is to restart hisense_ac, and right after all the MQTT HVACs are available immediately. That means I need to wait home-assistant internal logic before starting hisense_ac container. Any idea of how to workaround to this?
Thanks.
@deiger I think this issue is due to retain=False. I can do the changes myself, just wondering why you wanted to disable retention. Thanks.
If dealing with Docker + MQTT startup ordering is becoming a headache, there might be a simpler path — I made a fork of this project (with a lot of help from AI) that works as a native HACS integration. No Docker containers, no MQTT needed at all. Just add it as a custom repository in HACS and everything runs natively inside Home Assistant.
Might be worth a look: https://github.com/cvladan/hassio-hacs-hisense-aircon