ccutrer / waterfurnace_aurora

Library for communication with WaterFurnace Aurora control systems
30 stars 7 forks source link

Device unavailable in Home-Assistant after restart #57

Open mdallaire opened 8 months ago

mdallaire commented 8 months ago

Once in a while when restarting Home-Assistant the waterfurnace devices remain unavailable until a restart of the waterfurnace_aurora module is performed.

According to https://www.home-assistant.io/integrations/mqtt#use-the-birth-and-will-messages-to-trigger-discovery an external device using HA MQTT Discovery topics should subscribe to the Home-Assistant birth/will topic (homeassistant/status is the default with values of online or offline) and republish both the discovery topics and device specific topics when Home-Assistant come online (publish its birth message of online).

Looking at my MQTT broker it does not seem like waterfurnace_aurora subscribes to that topic.

The above documentation also mention using retained data as an alternate option which I do but retain can be hit or miss compared to a full republish of the discovery topics.