mirror of
https://github.com/home-assistant/core.git
synced 2025-08-16 11:01:39 +02:00
Prevent error message when component is actually ok
This commit is contained in:
@@ -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')
|
||||
|
Reference in New Issue
Block a user