List supported and deprecated intents in introduction (#1765)

* List supported and deprecated intents in introduction

- in case people do not scroll and don't realize there are deprecated intents there.
- It should also make it more obvious that currently only 4 intents are used.

* Built-in intents: expand introduction to give more context

* built-in intents: fix formatting
This commit is contained in:
c0ffeeca7 2023-05-03 14:46:46 +02:00 committed by GitHub
parent d98fc43be4
commit 9cff4f67c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,32 @@ toc_max_heading_level: 2
import intents from '!!yaml-loader!../intents/intents.yaml'; import intents from '!!yaml-loader!../intents/intents.yaml';
The following intents are supported by Home Assistant: The following intents are **supported**:
* HassTurnOn, HassTurnOff, HassGetState, HassLightSet
The following intents are **deprecated**:
* HassOpenCover, HassCloseCover, HassToggle, HassHumidifierSetpoint, HassHumidifierMode, HassShoppingListAddItem, HassShoppingListLastItems
**Slots**
For *HassTurnOn* and *HassTurnOff*, the *slots* are optional.
Possible slot combinations are:
| Slot combination | Example |
| ----------------------- | ---------------------------------|
| name only | table light |
| area only | kitchen |
| area and name | living room reading light |
| area and domain | kitchen lights |
| area and device class | bathroom humidity |
| device class and domain | carbon dioxide sensors |
## Supported intents
<> <>
{ {