Add cover to deprecated intents (#1643)

* Add cover to deprecated intents

* Add blog post

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
Paulus Schoutsen 2023-01-21 22:52:51 -05:00 committed by GitHub
parent edb54bc87b
commit fd99f5d6fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,8 @@
---
author: Paulus Schoutsen
authorURL: https://twitter.com/balloob
authorImageURL: /img/profile/paulus.jpg
title: "Cover intents deprecated"
---
The intents `HassCoverOpen` and `HassCoverClose` have been deprecated as of Home Assistant 2023.02. Instead, use the intents `HassTurnOn` and `HassTurnOff`. This was done because some languages do not differentiate between Open/On and Close/Off.

View File

@ -1,5 +1,6 @@
--- ---
title: "Built-in intents" title: "Built-in intents"
toc_max_heading_level: 2
--- ---
import intents from '!!yaml-loader!../intents/intents.yaml'; import intents from '!!yaml-loader!../intents/intents.yaml';
@ -37,6 +38,27 @@ The following intents are supported by Home Assistant:
These are old intents that are not supported by template matching sentences and are planned to be removed or replaced. These are old intents that are not supported by template matching sentences and are planned to be removed or replaced.
### HassOpenCover
_Deprecated; use `HassTurnOn` instead._
Open a cover.
| Slot name | Type | Required | Description
| --------- | ---- | -------- | -----------
| name | string | Yes | Name of the cover entity to open.
### HassCloseCover
_Deprecated; use `HassTurnOff` instead._
Close a cover.
| Slot name | Type | Required | Description
| --------- | ---- | -------- | -----------
| name | string | Yes | Name of the cover entity to close.
### HassToggle ### HassToggle
Toggle the state of an entity. Toggle the state of an entity.