Home Assistant Unofficial Reference 2024.12.1
state.py File Reference

Go to the source code of this file.

Namespaces

 homeassistant.components.homeassistant.triggers.state
 

Functions

CALLBACK_TYPE homeassistant.components.homeassistant.triggers.state.async_attach_trigger (HomeAssistant hass, ConfigType config, TriggerActionType action, TriggerInfo trigger_info, *str platform_type="state")
 
ConfigType homeassistant.components.homeassistant.triggers.state.async_validate_trigger_config (HomeAssistant hass, ConfigType config)
 

Variables

 homeassistant.components.homeassistant.triggers.state._LOGGER = logging.getLogger(__name__)
 
 homeassistant.components.homeassistant.triggers.state.BASE_SCHEMA
 
string homeassistant.components.homeassistant.triggers.state.CONF_ENTITY_ID = "entity_id"
 
string homeassistant.components.homeassistant.triggers.state.CONF_FROM = "from"
 
string homeassistant.components.homeassistant.triggers.state.CONF_NOT_FROM = "not_from"
 
string homeassistant.components.homeassistant.triggers.state.CONF_NOT_TO = "not_to"
 
string homeassistant.components.homeassistant.triggers.state.CONF_TO = "to"
 
 homeassistant.components.homeassistant.triggers.state.TRIGGER_ATTRIBUTE_SCHEMA
 
 homeassistant.components.homeassistant.triggers.state.TRIGGER_STATE_SCHEMA