1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-15 23:43:04 +00:00
Files
core/homeassistant/components/met/const.py
Paulus Schoutsen f2962a0d16 Set up Met during onboarding (#24622)
* Set up Met during onboarding

* Lint

* Add pyMetNo to test reqs
2019-06-19 14:41:27 -07:00

17 lines
373 B
Python

"""Constants for Met component."""
import logging
from homeassistant.components.weather import DOMAIN as WEATHER_DOMAIN
DOMAIN = 'met'
HOME_LOCATION_NAME = 'Home'
CONF_TRACK_HOME = 'track_home'
ENTITY_ID_SENSOR_FORMAT = WEATHER_DOMAIN + ".met_{}"
ENTITY_ID_SENSOR_FORMAT_HOME = ENTITY_ID_SENSOR_FORMAT.format(
HOME_LOCATION_NAME)
_LOGGER = logging.getLogger('.')