Add Hass.io discovery to MQTT (#16962)
* Add Hass.io discovery to MQTT * Update en.json * Update __init__.py * Update config_flow.py * Update strings.json * Update test_config_flow.py * Lint * Ensure we don't send bad data in config entry
This commit is contained in:
1 parent
5bc2e78ab4
commit
c69a790ede
5 files changed
+141
-6
No files matched your search
@@ -411,7 +411,7 @@ async def async_setup_entry(hass, entry):
|
||||
# If user didn't have configuration.yaml config, generate defaults
|
||||
if conf is None:
|
||||
conf = CONFIG_SCHEMA({
|
||||
DOMAIN: entry.data
|
||||
DOMAIN: entry.data,
|
||||
})[DOMAIN]
|
||||
elif any(key in conf for key in entry.data):
|
||||
_LOGGER.warning(
|
||||
|
||||
Reference in new issue
Block a user