Jalle19/eda-modbus-bridge

Discovery messages should be retained

Closed this issue · 3 comments

The discovery messages sent to the home assistant topic should have the retain flag sent to true, otherwise the entities will remain unavailable until next set of discovery messages are published after a reboot of HA.

Sounds reasonable, I read about it but didn't really understand the issue.

Especially if someone runs this standalone (where HA can be restarted independently of the add-on) this is crucial.

Yes, I have already experienced the unavailability of the entities due to the not retained messages.