mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-04-25 05:47:15 +00:00
Document built-in intents
This commit is contained in:
parent
76c6289dc8
commit
0945da3850
77
docs/intent_builtin.md
Normal file
77
docs/intent_builtin.md
Normal file
@ -0,0 +1,77 @@
|
||||
---
|
||||
title: "Built-in intents"
|
||||
---
|
||||
|
||||
Home Assistant comes with a couple of built-in intents. These intents aim to offer similar functionality as exposed via the services. All built-in intents are prefixed with "Hass" to avoid collision with user defined intents.
|
||||
|
||||
## Core
|
||||
|
||||
### HassTurnOff
|
||||
|
||||
Turn an entity off.
|
||||
|
||||
| Slot name | Type | Required | Description
|
||||
| --------- | ---- | -------- | -----------
|
||||
| name | string | Yes | Name of the entity to turn off.
|
||||
|
||||
### HassTurnOn
|
||||
|
||||
Turn an entity on.
|
||||
|
||||
| Slot name | Type | Required | Description
|
||||
| --------- | ---- | -------- | -----------
|
||||
| name | string | Yes | Name of the entity to turn on.
|
||||
|
||||
### HassToggle
|
||||
|
||||
Toggle the state of an entity.
|
||||
|
||||
| Slot name | Type | Required | Description
|
||||
| --------- | ---- | -------- | -----------
|
||||
| name | string | Yes | Name of the entity to toggle.
|
||||
|
||||
## Cover
|
||||
|
||||
### HassOpenCover
|
||||
|
||||
Open a cover.
|
||||
|
||||
| Slot name | Type | Required | Description
|
||||
| --------- | ---- | -------- | -----------
|
||||
| name | string | Yes | Name of the cover entity to open.
|
||||
|
||||
### HassCloseCover
|
||||
|
||||
Close a cover.
|
||||
|
||||
| Slot name | Type | Required | Description
|
||||
| --------- | ---- | -------- | -----------
|
||||
| name | string | Yes | Name of the cover entity to close.
|
||||
|
||||
## Light
|
||||
|
||||
### HassLightSet
|
||||
|
||||
Set the state of a light.
|
||||
|
||||
| Slot name | Type | Required | Description
|
||||
| --------- | ---- | -------- | -----------
|
||||
| name | string | Yes | Name of the entity to toggle.
|
||||
| color | string, name of valid color | No | Color to change the light to.
|
||||
| brightness | integer, 0-100 | No | Brightness to change the light to.
|
||||
|
||||
## Shopping List
|
||||
|
||||
### HassShoppingListAddItem
|
||||
|
||||
Add an item to the shopping list.
|
||||
|
||||
| Slot name | Type | Required | Description
|
||||
| --------- | ---- | -------- | -----------
|
||||
| item | string | Yes | Name of item to add to the list.
|
||||
|
||||
### HassShoppingListLastItems
|
||||
|
||||
List the last 5 items on the shopping list.
|
||||
|
||||
_This intent has no slots._
|
@ -102,6 +102,7 @@
|
||||
"hassio_debugging": "Debugging Hass.io",
|
||||
"hassio_hass": "Hass.io <> Home Assitant integration development",
|
||||
"HASS Integration development": "HASS Integration development",
|
||||
"intent_builtin": "Built-in intents",
|
||||
"intent_conversation": "Registering sentences",
|
||||
"intent_firing": "Firing intents",
|
||||
"intent_handling": "Handling intents",
|
||||
|
@ -112,7 +112,8 @@
|
||||
"intent_index",
|
||||
"intent_firing",
|
||||
"intent_handling",
|
||||
"intent_conversation"
|
||||
"intent_conversation",
|
||||
"intent_builtin"
|
||||
],
|
||||
"asyncio": [
|
||||
"asyncio_index",
|
||||
|
Loading…
x
Reference in New Issue
Block a user