-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
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
Reconfigure MQTT climate component if discovery info is changed #18174
Reconfigure MQTT climate component if discovery info is changed #18174
Conversation
f306a44
to
c94c936
Compare
c94c936
to
831729d
Compare
@OttoWinter, @balloob You reviewed #18169, do you think this one is OK too? |
CONF_CURRENT_TEMPERATURE_TOPIC | ||
) | ||
} | ||
self._qos = config.get(CONF_QOS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I sometimes wonder if we should not just store config
instead of every variable if we're going to just copy the value? Wouldn't that greatly clean up the code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good point actually!
Description:
Reconfigure MQTT climate component if discovery info is changed.
This PR is an extension of #18169 which introduced support for reconfiguring MQTT binary sensors.
(This is bullet 2 in home-assistant/architecture#70)
PRs for other platforms will be opened separately.
Checklist:
tox
.