MQTT, Binary sensors and unexpected states

This thread is exactly what I was looking for. I noticed the same thing because I set my house up with 433MHz door and window sensors and every time I opened up all the windows in the house and did a home assistant restart I’d lose the states of the windows, they’d all return to “Closed” even though they were really open. @swiftlyfalling thank you so much for the MQTT automation suggestion, that makes this solution work VERY well!

1 Like