From 1d1c923a6506e25562ff48311e002beff74fe05c Mon Sep 17 00:00:00 2001 From: Gerard Date: Wed, 24 Mar 2021 21:38:01 +0100 Subject: [PATCH 1/2] Update fan template for speed_count As discussed in https://github.com/home-assistant/core/issues/48234 the `speed_count` doesn't always default to 100. This PR updates the documentation accordingly until a fix is available. --- source/_integrations/fan.template.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/fan.template.markdown b/source/_integrations/fan.template.markdown index 844831874c7e..89f5409e5289 100644 --- a/source/_integrations/fan.template.markdown +++ b/source/_integrations/fan.template.markdown @@ -124,7 +124,7 @@ fan: type: [string, list] default: [] speed_count: - description: The number of speeds the fan supports. Used to calculate the percentage step for the `fan.increase_speed` and `fan.decrease_speed` services. + description: The number of speeds the fan supports. Used to calculate the percentage step for the `fan.increase_speed` and `fan.decrease_speed` services. Defaults to 100, but when `set_percentage` is used the number of speeds will defaults to 3 (being the values 33, 67 and 100). required: false type: integer default: 100 From 7be0b6bf27a4f1e4870a185ee004829f5c3111e2 Mon Sep 17 00:00:00 2001 From: Gerard Date: Wed, 24 Mar 2021 21:39:45 +0100 Subject: [PATCH 2/2] Update fan.template.markdown --- source/_integrations/fan.template.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/fan.template.markdown b/source/_integrations/fan.template.markdown index 89f5409e5289..b1bf66b89ccc 100644 --- a/source/_integrations/fan.template.markdown +++ b/source/_integrations/fan.template.markdown @@ -124,7 +124,7 @@ fan: type: [string, list] default: [] speed_count: - description: The number of speeds the fan supports. Used to calculate the percentage step for the `fan.increase_speed` and `fan.decrease_speed` services. Defaults to 100, but when `set_percentage` is used the number of speeds will defaults to 3 (being the values 33, 67 and 100). + description: The number of speeds the fan supports. Used to calculate the percentage step for the `fan.increase_speed` and `fan.decrease_speed` services. Defaults to 100, but when `set_percentage` is used the number of speeds defaults to 3 (being the values 33, 67 and 100). required: false type: integer default: 100