mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Update template fan to provide guidance on how to convert from speeds (#16963)
This commit is contained in:
parent
23774f95f3
commit
c3f1aa9326
@ -119,7 +119,7 @@ fan:
|
|||||||
required: false
|
required: false
|
||||||
type: action
|
type: action
|
||||||
preset_modes:
|
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
|
required: false
|
||||||
type: [string, list]
|
type: [string, list]
|
||||||
default: []
|
default: []
|
||||||
@ -129,3 +129,12 @@ fan:
|
|||||||
type: integer
|
type: integer
|
||||||
default: 100
|
default: 100
|
||||||
{% endconfiguration %}
|
{% 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`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user