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

Classes

class  IsraelRailConfigFlow
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 DATA_SCHEMA
 
list STATIONS_NAMES = [station["Heb"] for station in STATIONS.values()]
 

Detailed Description

Config flow for israel rail.

Variable Documentation

◆ _LOGGER

homeassistant.components.israel_rail.config_flow._LOGGER = logging.getLogger(__name__)
private

Definition at line 24 of file config_flow.py.

◆ DATA_SCHEMA

homeassistant.components.israel_rail.config_flow.DATA_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Required(CONF_START): vol.In(STATIONS_NAMES),
4  vol.Required(CONF_DESTINATION): vol.In(STATIONS_NAMES),
5  }
6 )

Definition at line 17 of file config_flow.py.

◆ STATIONS_NAMES

list homeassistant.components.israel_rail.config_flow.STATIONS_NAMES = [station["Heb"] for station in STATIONS.values()]

Definition at line 14 of file config_flow.py.