-
Notifications
You must be signed in to change notification settings - Fork 836
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with MQTT discovery message for Home Assistant from IRMQTTServer, it is not retained #879
Comments
* Use MQTT retain for the climate discovery message. * Better code disabling when MQTT discovery message is not required. Fixes #879
@alwashe Can you please download and try the code in the branch |
yes, it works. thank you. |
Thanks for the confirmation. I originally had it broadcasting it every X minutes, and that caused it to play up on my HA setup, so I decided to just make it an optional/manual step. This means that if people don't want to use discovery, the don't have to recompile the code etc. So, yes, it is intended to be only hit once .. kind-of. :) |
* Use MQTT retain for the climate discovery message. * Better code disabling when MQTT discovery message is not required. Fixes #879
FYI, the changes mentioned above are included in the newly released version of the library (v2.6.6). |
After restarting Homeassistant there is no AC Device anymore.
I have to hit the Button for Send a Climate MQTT discovery message to Home Assistant again.
It would solve this issue if the MQTT discovery message is retained.
Other devices (for example zigbee2mqtt) send retained discovery messages.
The text was updated successfully, but these errors were encountered: