Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for WeatherKit."""
2 
3 from logging import Logger, getLogger
4 
5 LOGGER: Logger = getLogger(__package__)
6 
7 NAME = "Apple WeatherKit"
8 DOMAIN = "weatherkit"
9 ATTRIBUTION = (
10  "Data provided by Apple Weather. "
11  "https://developer.apple.com/weatherkit/data-source-attribution/"
12 )
13 
14 MANUFACTURER = "Apple Weather"
15 
16 CONF_KEY_ID = "key_id"
17 CONF_SERVICE_ID = "service_id"
18 CONF_TEAM_ID = "team_id"
19 CONF_KEY_PEM = "key_pem"
20 
21 ATTR_CURRENT_WEATHER = "currentWeather"
22 ATTR_FORECAST_HOURLY = "forecastHourly"
23 ATTR_FORECAST_DAILY = "forecastDaily"