2019-02-14 15:01:46 +00:00
|
|
|
"""Constants for IPMA component."""
|
2019-02-08 09:55:58 +00:00
|
|
|
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('homeassistant.components.ipma')
|