|
| intent.IntentResponse | async_handle (self, intent.Intent intent_obj) |
| |
Answer questions about entity states.
Definition at line 235 of file __init__.py.
◆ async_handle()
| intent.IntentResponse homeassistant.components.intent.GetStateIntentHandler.async_handle |
( |
|
self, |
|
|
intent.Intent |
intent_obj |
|
) |
| |
◆ description
| string homeassistant.components.intent.GetStateIntentHandler.description = "Gets or checks the state of a device or entity" |
|
static |
◆ intent_type
| homeassistant.components.intent.GetStateIntentHandler.intent_type = intent.INTENT_GET_STATE |
|
static |
◆ slot_schema
| dictionary homeassistant.components.intent.GetStateIntentHandler.slot_schema |
|
static |
Initial value:= {
vol.Any("name", "area", "floor"): cv.string,
vol.Optional("domain"): vol.All(cv.ensure_list, [cv.string]),
vol.Optional("device_class"): vol.All(cv.ensure_list, [cv.string]),
vol.Optional("state"): vol.All(cv.ensure_list, [cv.string]),
vol.Optional("preferred_area_id"): cv.string,
vol.Optional("preferred_floor_id"): cv.string,
}
Definition at line 240 of file __init__.py.
The documentation for this class was generated from the following file: