karloygard / hassio-addons

My Hass.io addons
6 stars 2 forks source link

Binary inputs defaults to false after restart. #13

Closed dreeas closed 3 years ago

dreeas commented 3 years ago

Once again, really appriciate your work with this addon. Have been waiting for this for years.

Found an issue with binary inputs defaulting to FALSE when restarting HA. Have a binary input for status on my garage doors. It is TRUE when closed but every time I restart HA it goes to FALSE thus showing both garage doors open. Have to cycle the inputs (opening/closing the garage doors) to get the correct feedback. Should not the MQTT broker remember last state?

Br Andreas

karloygard commented 3 years ago

Try the freshly released 0.32, all MQTT messages are now retained.

dreeas commented 3 years ago

Great, thanks. Statuses are now remembered during a restart.