mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 00:07:10 +00:00
Disable insteon hub (#4221)
This commit is contained in:
parent
91227d9a2e
commit
c15fd4323e
@ -33,6 +33,10 @@ def setup(hass, config):
|
|||||||
|
|
||||||
This will automatically import associated lights.
|
This will automatically import associated lights.
|
||||||
"""
|
"""
|
||||||
|
_LOGGER.warning('Component disabled at request from Insteon. '
|
||||||
|
'For more information: https://goo.gl/zLJaic')
|
||||||
|
return False
|
||||||
|
# pylint: disable=unreachable
|
||||||
import insteon
|
import insteon
|
||||||
|
|
||||||
username = config[DOMAIN][CONF_USERNAME]
|
username = config[DOMAIN][CONF_USERNAME]
|
||||||
|
@ -8,6 +8,8 @@ from homeassistant.components.insteon_hub import INSTEON
|
|||||||
from homeassistant.components.light import (ATTR_BRIGHTNESS,
|
from homeassistant.components.light import (ATTR_BRIGHTNESS,
|
||||||
SUPPORT_BRIGHTNESS, Light)
|
SUPPORT_BRIGHTNESS, Light)
|
||||||
|
|
||||||
|
DEPENDENCIES = ['insteon_hub']
|
||||||
|
|
||||||
SUPPORT_INSTEON_HUB = SUPPORT_BRIGHTNESS
|
SUPPORT_INSTEON_HUB = SUPPORT_BRIGHTNESS
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user