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

Classes

class  InvalidToken
 
class  TriggerCMDConfigFlow
 

Functions

str validate_input (HomeAssistant hass, dict data)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 DATA_SCHEMA = vol.Schema({(CONF_TOKEN): str})
 

Detailed Description

Config flow for TRIGGERcmd integration.

Function Documentation

◆ validate_input()

str homeassistant.components.triggercmd.config_flow.validate_input ( HomeAssistant  hass,
dict  data 
)
Validate the user input allows us to connect.

Data has the keys from DATA_SCHEMA with values provided by the user.

Definition at line 23 of file config_flow.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 18 of file config_flow.py.

◆ DATA_SCHEMA

homeassistant.components.triggercmd.config_flow.DATA_SCHEMA = vol.Schema({(CONF_TOKEN): str})

Definition at line 20 of file config_flow.py.