2019-06-18 23:44:41 +00:00
|
|
|
"""Constants for Met component."""
|
|
|
|
import logging
|
|
|
|
|
|
|
|
from homeassistant.components.weather import DOMAIN as WEATHER_DOMAIN
|
|
|
|
|
|
|
|
DOMAIN = 'met'
|
|
|
|
|
|
|
|
HOME_LOCATION_NAME = 'Home'
|
|
|
|
|
2019-06-19 21:41:27 +00:00
|
|
|
CONF_TRACK_HOME = 'track_home'
|
|
|
|
|
2019-06-18 23:44:41 +00:00
|
|
|
ENTITY_ID_SENSOR_FORMAT = WEATHER_DOMAIN + ".met_{}"
|
|
|
|
ENTITY_ID_SENSOR_FORMAT_HOME = ENTITY_ID_SENSOR_FORMAT.format(
|
|
|
|
HOME_LOCATION_NAME)
|
|
|
|
|
|
|
|
_LOGGER = logging.getLogger('.')
|