mirror of
https://github.com/home-assistant/core.git
synced 2025-05-06 06:59:15 +00:00
fix insteon hub discovery
This commit is contained in:
parent
cb6f50b7ff
commit
f59e242c63
@ -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…
x
Reference in New Issue
Block a user