Remove unused import and unnecessary DOMAIN constant from TCP components.

This commit is contained in:
Flyte 2016-03-26 17:33:18 +00:00
parent 15303fd32d
commit ada561df30
2 changed files with 2 additions and 3 deletions

View file

@ -7,7 +7,8 @@ https://home-assistant.io/components/binary_sensor.tcp/
import logging
from homeassistant.components.binary_sensor import BinarySensorDevice
from homeassistant.components.sensor.tcp import Sensor, DOMAIN, CONF_VALUE_ON
from homeassistant.components.sensor.tcp import Sensor, CONF_VALUE_ON
_LOGGER = logging.getLogger(__name__)

View file

@ -13,8 +13,6 @@ from homeassistant.helpers import template
from homeassistant.exceptions import TemplateError
from homeassistant.helpers.entity import Entity
DOMAIN = "tcp"
CONF_PORT = "port"
CONF_TIMEOUT = "timeout"
CONF_PAYLOAD = "payload"