1
mirror of https://github.com/home-assistant/core synced 2024-10-01 05:30:36 +02:00

Merge pull request #1618 from balloob/flyte-patch-1

Remove unnecessary dependency from TCP binary sensor for #1617
This commit is contained in:
Paulus Schoutsen 2016-03-26 11:43:35 -07:00
commit 80b65f1895
2 changed files with 2 additions and 4 deletions

View File

@ -7,9 +7,9 @@ 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
DEPENDENCIES = [DOMAIN]
_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"