Fix MQTT setup after changing config entry flow options (#79103)
Fix issues with config flow options
This commit is contained in:
parent
499c3410d1
commit
c5a58c8501
3 changed files with 42 additions and 22 deletions
|
@ -262,7 +262,9 @@ class MQTTOptionsFlowHandler(config_entries.OptionsFlow):
|
|||
updated_config.update(self.broker_config)
|
||||
updated_config.update(options_config)
|
||||
self.hass.config_entries.async_update_entry(
|
||||
self.config_entry, data=updated_config
|
||||
self.config_entry,
|
||||
data=updated_config,
|
||||
title=str(self.broker_config[CONF_BROKER]),
|
||||
)
|
||||
return self.async_create_entry(title="", data={})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue