core/homeassistant/components/ipma/const.py

13 lines
280 B
Python
Raw Normal View History

"""Constants for IPMA component."""
import logging
from homeassistant.components.weather import DOMAIN as WEATHER_DOMAIN
2019-07-31 19:25:30 +00:00
DOMAIN = "ipma"
2019-07-31 19:25:30 +00:00
HOME_LOCATION_NAME = "Home"
ENTITY_ID_SENSOR_FORMAT_HOME = f"{WEATHER_DOMAIN}.ipma_{HOME_LOCATION_NAME}"
2019-07-31 19:25:30 +00:00
_LOGGER = logging.getLogger(".")