* merge upstream/dev * remove comment * coverage increase * merge upstream/dev * refactor * wait for another PR * remove left overs * wait for next PR * only remove on successful unload Co-authored-by: Shay Levy <levyshay1@gmail.com> Co-authored-by: Shay Levy <levyshay1@gmail.com>
11 lines
275 B
Python
11 lines
275 B
Python
"""Constants for IPMA component."""
|
|
from homeassistant.components.weather import DOMAIN as WEATHER_DOMAIN
|
|
|
|
DOMAIN = "ipma"
|
|
|
|
HOME_LOCATION_NAME = "Home"
|
|
|
|
DATA_API = "api"
|
|
DATA_LOCATION = "location"
|
|
|
|
ENTITY_ID_SENSOR_FORMAT_HOME = f"{WEATHER_DOMAIN}.ipma_{HOME_LOCATION_NAME}"
|