|
| intent.IntentResponse | async_handle (self, intent.Intent intent_obj) |
| |
Handle set humidity intents.
Definition at line 32 of file intent.py.
◆ async_handle()
| intent.IntentResponse homeassistant.components.humidifier.intent.HumidityHandler.async_handle |
( |
|
self, |
|
|
intent.Intent |
intent_obj |
|
) |
| |
Handle the hass intent.
Definition at line 43 of file intent.py.
◆ description
| string homeassistant.components.humidifier.intent.HumidityHandler.description = "Set desired humidity level" |
|
static |
◆ intent_type
| homeassistant.components.humidifier.intent.HumidityHandler.intent_type = INTENT_HUMIDITY |
|
static |
◆ platforms
| dictionary homeassistant.components.humidifier.intent.HumidityHandler.platforms = {DOMAIN} |
|
static |
◆ slot_schema
| dictionary homeassistant.components.humidifier.intent.HumidityHandler.slot_schema |
|
static |
Initial value:= {
vol.Required("name"): intent.non_empty_string,
vol.Required("humidity"): vol.All(vol.Coerce(int), vol.Range(0, 100)),
}
Definition at line 37 of file intent.py.
The documentation for this class was generated from the following file:
- core/homeassistant/components/humidifier/intent.py