mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Add fan preset modes feature (#31191)
* Update preset mode feature * Update features documentation to reflect that fan preset modes are distinct from climate preset modes * Add screenshot of fan preset modes
This commit is contained in:
parent
90900be684
commit
5f2b251d0a
@ -233,6 +233,42 @@ type:
|
||||
type: string
|
||||
{% endconfiguration %}
|
||||
|
||||
## Fan preset modes
|
||||
|
||||
Widget that displays buttons or icons to control the preset mode for a [fan](/integrations/fan).
|
||||
|
||||
<p class='img'>
|
||||
<img src='/images/dashboards/features/fan_preset_modes.png' alt='Screenshot of the tile card with the fan preset modes feature'>
|
||||
Screenshot of the tile card with the fan preset modes feature
|
||||
</p>
|
||||
|
||||
```yaml
|
||||
features:
|
||||
- type: "fan-preset-modes"
|
||||
style: "icons"
|
||||
preset_modes:
|
||||
- auto
|
||||
- smart
|
||||
- sleep
|
||||
- 'on'
|
||||
```
|
||||
|
||||
{% configuration features %}
|
||||
type:
|
||||
required: true
|
||||
description: "`fan-preset-modes`"
|
||||
type: string
|
||||
style:
|
||||
required: false
|
||||
description: "How the preset modes should be displayed. It can be either `dropdown` or `icons`."
|
||||
type: string
|
||||
default: dropdown
|
||||
preset_modes:
|
||||
required: true
|
||||
description: List of preset modes to show on the card. The list can contain any supported preset modes.
|
||||
type: list
|
||||
{% endconfiguration %}
|
||||
|
||||
## Fan speed
|
||||
|
||||
Widget that displays speed controls for a [fan](/integrations/fan).
|
||||
|
BIN
source/images/dashboards/features/fan_preset_modes.png
Normal file
BIN
source/images/dashboards/features/fan_preset_modes.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
Loading…
x
Reference in New Issue
Block a user