Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants in smhi component."""
2 
3 from typing import Final
4 
5 from homeassistant.components.weather import DOMAIN as WEATHER_DOMAIN
6 
7 ATTR_SMHI_THUNDER_PROBABILITY: Final = "thunder_probability"
8 
9 DOMAIN = "smhi"
10 
11 HOME_LOCATION_NAME = "Home"
12 DEFAULT_NAME = "Weather"
13 
14 ENTITY_ID_SENSOR_FORMAT = WEATHER_DOMAIN + ".smhi_{}"