mcer12 / Hugo-ESP8266

Hugo is a 4-button ESP8266 Wi-Fi Remote, Arduino compatible and simple to use.
MIT License
111 stars 11 forks source link

MQTT Retain on Home Assistant registration #23

Closed jerobins closed 4 years ago

jerobins commented 4 years ago

Just did an OTA update to the latest MQTT code in repo. Worked fine. Really appreciate the ease of registering with 2+4 for Home Assistant. It only needs one tweak, adding the retain flag to the MQTT publish for the configuration topics so that the device config isn't lost on Home Assistant restarts. Thanks so much.