fix insteon hub discovery
This commit is contained in:
parent
cb6f50b7ff
commit
f59e242c63
1 changed files with 1 additions and 2 deletions
|
@ -39,7 +39,6 @@ def setup(hass, config):
|
||||||
_LOGGER.error("Could not connect to Insteon service.")
|
_LOGGER.error("Could not connect to Insteon service.")
|
||||||
return
|
return
|
||||||
|
|
||||||
for component in 'light':
|
discovery.load_platform(hass, 'light', DOMAIN, {}, config)
|
||||||
discovery.load_platform(hass, component, DOMAIN, {}, config)
|
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue