mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-24 01:26:35 +00:00
Discovery default config (#793)
This commit is contained in:
parent
1f091b20ad
commit
fa5c2e37d3
@ -60,7 +60,7 @@ class Discovery(CoreSysAttributes, JsonConfig):
|
||||
def send(self, addon, service, config):
|
||||
"""Send a discovery message to Home Assistant."""
|
||||
try:
|
||||
DISCOVERY_SERVICES[service](config)
|
||||
config = DISCOVERY_SERVICES[service](config)
|
||||
except vol.Invalid as err:
|
||||
_LOGGER.error(
|
||||
"Invalid discovery %s config", humanize_error(config, err))
|
||||
|
Loading…
x
Reference in New Issue
Block a user