mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +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
|
||||
if DOMAIN not in config:
|
||||
return False
|
||||
return True
|
||||
|
||||
if DISCOVERY_DOMAIN not in config:
|
||||
_LOGGER.warning('IGD needs discovery, please enable it')
|
||||
|
Loading…
x
Reference in New Issue
Block a user