mirror of
https://github.com/elisspace/core.git
synced 2026-10-01 23:10:05 +00:00
Add CONF_LOCATION constant (#68474)
* Add CONF_LOCATION constant * Update all custom CONF_LOCATION definitions to point to constant * remove CONF_LOCATION from homeassistant/components/totalconnect/const
This commit is contained in:
@@ -8,7 +8,7 @@ from tapsaff import TapsAff
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.components.binary_sensor import PLATFORM_SCHEMA, BinarySensorEntity
|
||||
from homeassistant.const import CONF_NAME
|
||||
from homeassistant.const import CONF_LOCATION, CONF_NAME
|
||||
from homeassistant.core import HomeAssistant
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
||||
@@ -16,8 +16,6 @@ from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
CONF_LOCATION = "location"
|
||||
|
||||
DEFAULT_NAME = "Taps Aff"
|
||||
|
||||
SCAN_INTERVAL = timedelta(minutes=30)
|
||||
|
||||
Reference in New Issue
Block a user