From c3f1aa932623f238715d62b1d0a1c2e25ba44878 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 12 Mar 2021 00:42:45 -1000 Subject: [PATCH] Update template fan to provide guidance on how to convert from speeds (#16963) --- source/_integrations/fan.template.markdown | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/source/_integrations/fan.template.markdown b/source/_integrations/fan.template.markdown index 694c3dcd84b..844831874c7 100644 --- a/source/_integrations/fan.template.markdown +++ b/source/_integrations/fan.template.markdown @@ -119,7 +119,7 @@ fan: required: false type: action preset_modes: - description: List of preset modes the fan is capable of. + description: List of preset modes the fan is capable of. This is an arbitrary list of strings and must not contain any speeds. required: false type: [string, list] default: [] @@ -129,3 +129,12 @@ fan: type: integer default: 100 {% endconfiguration %} + +## Converting from speeds to percentage + +When converting a fan with 3 speeds from the old fan entity model, the following percentages can be used: + +0 - `off` +33 - `low` +66 - `medium` +100 - `high`