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

Public Member Functions

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

Static Public Attributes

string description = "Cancels a timer"
 
 intent_type = intent.INTENT_CANCEL_TIMER
 
dictionary slot_schema
 

Detailed Description

Intent handler for cancelling a timer.

Definition at line 868 of file timers.py.

Member Function Documentation

◆ async_handle()

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

Definition at line 879 of file timers.py.

Member Data Documentation

◆ description

string homeassistant.components.intent.timers.CancelTimerIntentHandler.description = "Cancels a timer"
static

Definition at line 872 of file timers.py.

◆ intent_type

homeassistant.components.intent.timers.CancelTimerIntentHandler.intent_type = intent.INTENT_CANCEL_TIMER
static

Definition at line 871 of file timers.py.

◆ slot_schema

dictionary homeassistant.components.intent.timers.CancelTimerIntentHandler.slot_schema
static
Initial value:
= {
vol.Any("start_hours", "start_minutes", "start_seconds"): cv.positive_int,
vol.Optional("name"): cv.string,
vol.Optional("area"): cv.string,
}

Definition at line 873 of file timers.py.


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