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

Classes

class  HKOConfigFlow
 

Functions

def get_loc_name (item)
 

Variables

 STEP_USER_DATA_SCHEMA
 

Detailed Description

Config flow for Hong Kong Observatory integration.

Function Documentation

◆ get_loc_name()

def homeassistant.components.hko.config_flow.get_loc_name (   item)
Return an array of supported locations.

Definition at line 19 of file config_flow.py.

Variable Documentation

◆ STEP_USER_DATA_SCHEMA

homeassistant.components.hko.config_flow.STEP_USER_DATA_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Required(CONF_LOCATION, default=DEFAULT_LOCATION): SelectSelector(
4  SelectSelectorConfig(options=list(map(get_loc_name, LOCATIONS)), sort=True)
5  )
6  }
7 )

Definition at line 24 of file config_flow.py.