Home Assistant Unofficial Reference 2024.12.1
homeassistant.helpers.intent.IntentHandler Class Reference
Inheritance diagram for homeassistant.helpers.intent.IntentHandler:
[legend]

Public Member Functions

str __repr__ (self)
 
bool async_can_handle (self, Intent intent_obj)
 
IntentResponse async_handle (self, Intent intent_obj)
 
_SlotsType async_validate_slots (self, _SlotsType slots)
 
dict|None slot_schema (self)
 

Static Public Attributes

 None
 

Private Member Functions

vol.Schema _slot_schema (self)
 

Detailed Description

Intent handler registration.

Definition at line 765 of file intent.py.

Member Function Documentation

◆ __repr__()

str homeassistant.helpers.intent.IntentHandler.__repr__ (   self)
Represent a string of an intent handler.

Definition at line 806 of file intent.py.

◆ _slot_schema()

vol.Schema homeassistant.helpers.intent.IntentHandler._slot_schema (   self)
private
Create validation schema for slots.

Definition at line 791 of file intent.py.

◆ async_can_handle()

bool homeassistant.helpers.intent.IntentHandler.async_can_handle (   self,
Intent  intent_obj 
)
Test if an intent can be handled.

Definition at line 778 of file intent.py.

◆ async_handle()

IntentResponse homeassistant.helpers.intent.IntentHandler.async_handle (   self,
Intent  intent_obj 
)
Handle the intent.

Reimplemented in homeassistant.helpers.intent.DynamicServiceIntentHandler.

Definition at line 802 of file intent.py.

◆ async_validate_slots()

_SlotsType homeassistant.helpers.intent.IntentHandler.async_validate_slots (   self,
_SlotsType  slots 
)
Validate slot information.

Definition at line 783 of file intent.py.

◆ slot_schema()

dict | None homeassistant.helpers.intent.IntentHandler.slot_schema (   self)
Return a slot schema.

Reimplemented in homeassistant.helpers.intent.DynamicServiceIntentHandler.

Definition at line 773 of file intent.py.

Member Data Documentation

◆ None

homeassistant.helpers.intent.IntentHandler.None
static

Definition at line 769 of file intent.py.


The documentation for this class was generated from the following file: