mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Prevent error message when component is actually ok
This commit is contained in:
parent
38318ed15f
commit
c9e34e236d
@ -143,7 +143,7 @@ async def async_setup(hass: HomeAssistantType, config: ConfigType):
|
|||||||
|
|
||||||
# ensure sane config
|
# ensure sane config
|
||||||
if DOMAIN not in config:
|
if DOMAIN not in config:
|
||||||
return False
|
return True
|
||||||
|
|
||||||
if DISCOVERY_DOMAIN not in config:
|
if DISCOVERY_DOMAIN not in config:
|
||||||
_LOGGER.warning('IGD needs discovery, please enable it')
|
_LOGGER.warning('IGD needs discovery, please enable it')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user