mirror of
https://github.com/home-assistant/core.git
synced 2025-05-05 22:49:17 +00:00
14 lines
339 B
Python
14 lines
339 B
Python
"""Constants for IPMA component."""
|
|
import logging
|
|
|
|
from homeassistant.components.weather import DOMAIN as WEATHER_DOMAIN
|
|
|
|
DOMAIN = "ipma"
|
|
|
|
HOME_LOCATION_NAME = "Home"
|
|
|
|
ENTITY_ID_SENSOR_FORMAT = WEATHER_DOMAIN + ".ipma_{}"
|
|
ENTITY_ID_SENSOR_FORMAT_HOME = ENTITY_ID_SENSOR_FORMAT.format(HOME_LOCATION_NAME)
|
|
|
|
_LOGGER = logging.getLogger(".")
|