From fd99f5d6fa1908271c9bba9dc819b1d71dbbd73e Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 21 Jan 2023 22:52:51 -0500 Subject: [PATCH] Add cover to deprecated intents (#1643) * Add cover to deprecated intents * Add blog post * Apply suggestions from code review Co-authored-by: Martin Hjelmare Co-authored-by: Martin Hjelmare --- blog/2023-01-20-cover-intent-deprecated.md | 8 ++++++++ docs/intent_builtin.md | 22 ++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 blog/2023-01-20-cover-intent-deprecated.md diff --git a/blog/2023-01-20-cover-intent-deprecated.md b/blog/2023-01-20-cover-intent-deprecated.md new file mode 100644 index 00000000..8346e068 --- /dev/null +++ b/blog/2023-01-20-cover-intent-deprecated.md @@ -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. diff --git a/docs/intent_builtin.md b/docs/intent_builtin.md index 20c25df9..af6656bf 100644 --- a/docs/intent_builtin.md +++ b/docs/intent_builtin.md @@ -1,5 +1,6 @@ --- title: "Built-in intents" +toc_max_heading_level: 2 --- 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. + +### 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 Toggle the state of an entity.