Prevent error message when component is actually ok

This commit is contained in:
Steven Looman 2018-09-01 10:14:21 +02:00
parent 38318ed15f
commit c9e34e236d

View File

@ -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')