* initial version * works * lint * move * hound * fix formatting * update * add extra features * houmd * docstring * fix tests * lint * update requirements_all.txt * new tests * lint * update CODEOWNERS * MockDependency pyipma * hound * bump pyipma version * add config_flow tests * lint * improve test coverage * fix test * address comments by @MartinHjelmare * remove device_info * hound * stale comment * Add deprecation warning * address comments * lint
15 lines
371 B
Python
15 lines
371 B
Python
"""Constants in 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('homeassistant.components.ipma')
|