Move CONF_UPDATE_INTERVAL to homeassistant.const (#20526)

This commit is contained in:
Rohan Kapoor authored and Paulus Schoutsen committed 2019-01-28 20:26:31 -08:00
1 parent 3ee3acd550
commit cc74035c3b
11 files changed
+13 -19

No files matched your search

+1 -2
View File
@@ -14,7 +14,7 @@ import voluptuous as vol
from homeassistant.components.sensor import PLATFORM_SCHEMA
from homeassistant.const import (
CONF_HOST, CONF_MAC, CONF_MONITORED_CONDITIONS, CONF_NAME, TEMP_CELSIUS,
CONF_TIMEOUT)
CONF_TIMEOUT, CONF_UPDATE_INTERVAL)
from homeassistant.helpers.entity import Entity
from homeassistant.util import Throttle
import homeassistant.helpers.config_validation as cv
@@ -23,7 +23,6 @@ REQUIREMENTS = ['broadlink==0.9.0']
_LOGGER = logging.getLogger(__name__)
CONF_UPDATE_INTERVAL = 'update_interval'
DEVICE_DEFAULT_NAME = 'Broadlink sensor'
DEFAULT_TIMEOUT = 10