Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.intent.timers.StartTimerIntentHandler Class Reference
Inheritance diagram for homeassistant.components.intent.timers.StartTimerIntentHandler:
[legend]
Collaboration diagram for homeassistant.components.intent.timers.StartTimerIntentHandler:
[legend]

Public Member Functions

intent.IntentResponse async_handle (self, intent.Intent intent_obj)
 

Static Public Attributes

string description = "Starts a new timer"
 
 intent_type = intent.INTENT_START_TIMER
 
dictionary slot_schema
 

Detailed Description

Intent handler for starting a new timer.

Definition at line 808 of file timers.py.

Member Function Documentation

◆ async_handle()

intent.IntentResponse homeassistant.components.intent.timers.StartTimerIntentHandler.async_handle (   self,
intent.Intent  intent_obj 
)
Handle the intent.

Definition at line 819 of file timers.py.

Member Data Documentation

◆ description

string homeassistant.components.intent.timers.StartTimerIntentHandler.description = "Starts a new timer"
static

Definition at line 812 of file timers.py.

◆ intent_type

homeassistant.components.intent.timers.StartTimerIntentHandler.intent_type = intent.INTENT_START_TIMER
static

Definition at line 811 of file timers.py.

◆ slot_schema

dictionary homeassistant.components.intent.timers.StartTimerIntentHandler.slot_schema
static
Initial value:
= {
vol.Required(vol.Any("hours", "minutes", "seconds")): cv.positive_int,
vol.Optional("name"): cv.string,
vol.Optional("conversation_command"): cv.string,
}

Definition at line 813 of file timers.py.


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