mirror of
https://github.com/home-assistant/core.git
synced 2025-05-01 12:47:53 +00:00
16 lines
368 B
Python
16 lines
368 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(".")
|