Prevent error message when component is actually ok
This commit is contained in:
1 parent
38318ed15f
commit
c9e34e236d
1 file changed
+1
-1
@@ -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