mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-14 12:56:30 +00:00
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:
parent
edb54bc87b
commit
fd99f5d6fa
8
blog/2023-01-20-cover-intent-deprecated.md
Normal file
8
blog/2023-01-20-cover-intent-deprecated.md
Normal 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.
|
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user