Added the req consts

pull/433/head
Stefan Jonasson 2015-09-23 09:32:11 +02:00
parent a9ea8972dd
commit 7d0ff6884c
2 changed files with 6 additions and 2 deletions

View File

@ -6,7 +6,9 @@ Support for Tellstick lights.
import logging import logging
# pylint: disable=no-name-in-module, import-error # pylint: disable=no-name-in-module, import-error
from homeassistant.components.light import Light, ATTR_BRIGHTNESS from homeassistant.components.light import Light, ATTR_BRIGHTNESS
from homeassistant.const import ATTR_FRIENDLY_NAME from homeassistant.const import (
EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP,
ATTR_FRIENDLY_NAME)
import tellcore.constants as tellcore_constants import tellcore.constants as tellcore_constants
from tellcore.library import DirectCallbackDispatcher from tellcore.library import DirectCallbackDispatcher
REQUIREMENTS = ['tellcore-py==1.1.2'] REQUIREMENTS = ['tellcore-py==1.1.2']

View File

@ -11,7 +11,9 @@ signal_repetitions: 3
""" """
import logging import logging
from homeassistant.const import ATTR_FRIENDLY_NAME from homeassistant.const import (
EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP,
ATTR_FRIENDLY_NAME)
from homeassistant.helpers.entity import ToggleEntity from homeassistant.helpers.entity import ToggleEntity
import tellcore.constants as tellcore_constants import tellcore.constants as tellcore_constants
from tellcore.library import DirectCallbackDispatcher from tellcore.library import DirectCallbackDispatcher