Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.weatherkit.config_flow Namespace Reference

Classes

class  WeatherKitFlowHandler
 
class  WeatherKitUnsupportedLocationError
 

Variables

 DATA_SCHEMA
 

Detailed Description

Adds config flow for WeatherKit.

Variable Documentation

◆ DATA_SCHEMA

homeassistant.components.weatherkit.config_flow.DATA_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Required(CONF_LOCATION): LocationSelector(
4  LocationSelectorConfig(radius=False, icon="")
5  ),
6  # Auth
7  vol.Required(CONF_KEY_ID): str,
8  vol.Required(CONF_SERVICE_ID): str,
9  vol.Required(CONF_TEAM_ID): str,
10  vol.Required(CONF_KEY_PEM): TextSelector(
11  TextSelectorConfig(
12  multiline=True,
13  )
14  ),
15  }
16 )

Definition at line 35 of file config_flow.py.