Improve handling of MQTT overridden settings (#72698)
* Improve handling of MQTT overridden settings * Don't warn unless config entry overrides yaml
This commit is contained in:
parent
42bcd0263c
commit
342ccb5bf1
2 changed files with 7 additions and 11 deletions
|
@ -1715,11 +1715,6 @@ async def test_update_incomplete_entry(
|
|||
"The 'broker' option is deprecated, please remove it from your configuration"
|
||||
in caplog.text
|
||||
)
|
||||
assert (
|
||||
"Deprecated configuration settings found in configuration.yaml. These settings "
|
||||
"from your configuration entry will override: {'broker': 'yaml_broker'}"
|
||||
in caplog.text
|
||||
)
|
||||
|
||||
# Discover a device to verify the entry was setup correctly
|
||||
async_fire_mqtt_message(hass, "homeassistant/sensor/bla/config", data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue