* Use f-strings in integrations starting with "H" * Use f-strings in integrations starting with "I" * Use f-strings in integrations starting with "J" * Use f-strings in integrations starting with "K" * Use f-strings in integrations starting with "L" * Fix lint error * Use join instead of f-string in homekit_controller * Use local variables with f-strings * Fix lint error * Escape the characters in f-string * Sort imports with isort in homeworks light * Fix pylint error * Fix broken tests * Fix broken tests v2
12 lines
280 B
Python
12 lines
280 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_HOME = f"{WEATHER_DOMAIN}.ipma_{HOME_LOCATION_NAME}"
|
|
|
|
_LOGGER = logging.getLogger(".")
|