Home Assistant Unofficial Reference 2024.12.1
intent.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.helpers.intent.DynamicServiceIntentHandler
 
class  homeassistant.helpers.intent.Intent
 
class  homeassistant.helpers.intent.IntentCategory
 
class  homeassistant.helpers.intent.IntentError
 
class  homeassistant.helpers.intent.IntentHandleError
 
class  homeassistant.helpers.intent.IntentHandler
 
class  homeassistant.helpers.intent.IntentResponse
 
class  homeassistant.helpers.intent.IntentResponseErrorCode
 
class  homeassistant.helpers.intent.IntentResponseTarget
 
class  homeassistant.helpers.intent.IntentResponseTargetType
 
class  homeassistant.helpers.intent.IntentResponseType
 
class  homeassistant.helpers.intent.IntentUnexpectedError
 
class  homeassistant.helpers.intent.InvalidSlotInfo
 
class  homeassistant.helpers.intent.MatchFailedError
 
class  homeassistant.helpers.intent.MatchFailedReason
 
class  homeassistant.helpers.intent.MatchTargetsCandidate
 
class  homeassistant.helpers.intent.MatchTargetsConstraints
 
class  homeassistant.helpers.intent.MatchTargetsPreferences
 
class  homeassistant.helpers.intent.MatchTargetsResult
 
class  homeassistant.helpers.intent.NoStatesMatchedError
 
class  homeassistant.helpers.intent.ServiceIntentHandler
 
class  homeassistant.helpers.intent.UnknownIntent
 

Namespaces

 homeassistant.helpers.intent
 

Functions

None homeassistant.helpers.intent._add_areas (area_registry.AreaRegistry areas, device_registry.DeviceRegistry devices, Iterable[MatchTargetsCandidate] candidates)
 
Iterable[MatchTargetsCandidate] homeassistant.helpers.intent._filter_by_device_classes (Iterable[str] device_classes, Iterable[MatchTargetsCandidate] candidates)
 
Iterable[MatchTargetsCandidate] homeassistant.helpers.intent._filter_by_features (int features, Iterable[MatchTargetsCandidate] candidates)
 
Iterable[MatchTargetsCandidate] homeassistant.helpers.intent._filter_by_name (str name, Iterable[MatchTargetsCandidate] candidates)
 
str homeassistant.helpers.intent._normalize_name (str name)
 
Iterable[IntentHandler] homeassistant.helpers.intent.async_get (HomeAssistant hass)
 
IntentResponse homeassistant.helpers.intent.async_handle (HomeAssistant hass, str platform, str intent_type, _SlotsType|None slots=None, str|None text_input=None, Context|None context=None, str|None language=None, str|None assistant=None, str|None device_id=None, str|None conversation_agent_id=None)
 
Iterable[State] homeassistant.helpers.intent.async_match_states (HomeAssistant hass, str|None name=None, str|None area_name=None, str|None floor_name=None, Collection[str]|None domains=None, Collection[str]|None device_classes=None, list[State]|None states=None, str|None assistant=None)
 
MatchTargetsResult homeassistant.helpers.intent.async_match_targets (HomeAssistant hass, MatchTargetsConstraints constraints, MatchTargetsPreferences|None preferences=None, list[State]|None states=None)
 
None homeassistant.helpers.intent.async_register (HomeAssistant hass, IntentHandler handler)
 
None homeassistant.helpers.intent.async_remove (HomeAssistant hass, str intent_type)
 
None homeassistant.helpers.intent.async_test_feature (State state, int feature, str feature_name)
 
Iterable[area_registry.AreaEntry] homeassistant.helpers.intent.find_areas (str name, area_registry.AreaRegistry areas)
 
Iterable[floor_registry.FloorEntry] homeassistant.helpers.intent.find_floors (str name, floor_registry.FloorRegistry floors)
 
str homeassistant.helpers.intent.non_empty_string (Any value)
 

Variables

 homeassistant.helpers.intent._IntentSlotsType
 
 homeassistant.helpers.intent._LOGGER = logging.getLogger(__name__)
 
 homeassistant.helpers.intent._SlotsType
 
string homeassistant.helpers.intent.INTENT_CANCEL_ALL_TIMERS = "HassCancelAllTimers"
 
string homeassistant.helpers.intent.INTENT_CANCEL_TIMER = "HassCancelTimer"
 
string homeassistant.helpers.intent.INTENT_DECREASE_TIMER = "HassDecreaseTimer"
 
string homeassistant.helpers.intent.INTENT_GET_CURRENT_DATE = "HassGetCurrentDate"
 
string homeassistant.helpers.intent.INTENT_GET_CURRENT_TIME = "HassGetCurrentTime"
 
string homeassistant.helpers.intent.INTENT_GET_STATE = "HassGetState"
 
string homeassistant.helpers.intent.INTENT_INCREASE_TIMER = "HassIncreaseTimer"
 
string homeassistant.helpers.intent.INTENT_NEVERMIND = "HassNevermind"
 
string homeassistant.helpers.intent.INTENT_PAUSE_TIMER = "HassPauseTimer"
 
string homeassistant.helpers.intent.INTENT_RESPOND = "HassRespond"
 
string homeassistant.helpers.intent.INTENT_SET_POSITION = "HassSetPosition"
 
string homeassistant.helpers.intent.INTENT_START_TIMER = "HassStartTimer"
 
string homeassistant.helpers.intent.INTENT_TIMER_STATUS = "HassTimerStatus"
 
string homeassistant.helpers.intent.INTENT_TOGGLE = "HassToggle"
 
string homeassistant.helpers.intent.INTENT_TURN_OFF = "HassTurnOff"
 
string homeassistant.helpers.intent.INTENT_TURN_ON = "HassTurnOn"
 
string homeassistant.helpers.intent.INTENT_UNPAUSE_TIMER = "HassUnpauseTimer"
 
 homeassistant.helpers.intent.SLOT_SCHEMA = vol.Schema({}, extra=vol.ALLOW_EXTRA)
 
string homeassistant.helpers.intent.SPEECH_TYPE_PLAIN = "plain"
 
string homeassistant.helpers.intent.SPEECH_TYPE_SSML = "ssml"