Disable insteon hub (#4221)

This commit is contained in:
Paulus Schoutsen 2016-11-04 23:38:27 -07:00 committed by GitHub
parent 91227d9a2e
commit c15fd4323e
2 changed files with 6 additions and 0 deletions

View file

@ -33,6 +33,10 @@ def setup(hass, config):
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
username = config[DOMAIN][CONF_USERNAME]

View file

@ -8,6 +8,8 @@ from homeassistant.components.insteon_hub import INSTEON
from homeassistant.components.light import (ATTR_BRIGHTNESS,
SUPPORT_BRIGHTNESS, Light)
DEPENDENCIES = ['insteon_hub']
SUPPORT_INSTEON_HUB = SUPPORT_BRIGHTNESS