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

Public Member Functions

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

Static Public Attributes

string description = "Removes time from a timer"
 
 intent_type = intent.INTENT_DECREASE_TIMER
 
dictionary slot_schema
 

Detailed Description

Intent handler for decreasing the time of a timer.

Definition at line 944 of file timers.py.

Member Function Documentation

◆ async_handle()

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

Definition at line 956 of file timers.py.

Member Data Documentation

◆ description

string homeassistant.components.intent.timers.DecreaseTimerIntentHandler.description = "Removes time from a timer"
static

Definition at line 948 of file timers.py.

◆ intent_type

homeassistant.components.intent.timers.DecreaseTimerIntentHandler.intent_type = intent.INTENT_DECREASE_TIMER
static

Definition at line 947 of file timers.py.

◆ slot_schema

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

Definition at line 949 of file timers.py.


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