Fan and alarm tile features (#26851)

This commit is contained in:
Paul Bottein 2023-04-04 12:39:03 +02:00 committed by Franck Nijhof
parent 422af5a870
commit 21100621c8
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
3 changed files with 53 additions and 0 deletions

View File

@ -106,6 +106,38 @@ Some color tokens are available to colorize the tile card : `primary`, `accent`,
Some entities have support for "features". These widgets add quick controls to the tile card.
### Alarm modes
Widget that display buttons to arm and disarm an [alarm](/integrations/alarm_control_panel).
<p class='img'>
<img src='/images/dashboards/tile-features/alarm_modes.png' alt='Screenshot of the tile card with alarm modes feature'>
Screenshot of the tile card with alarm modes feature
</p>
```yaml
features:
- type: "alarm-modes"
modes:
- armed_home
- armed_away
- armed_night
- armed_vacation
- armed_custom_bypass
- disarmed
```
{% configuration %}
type:
required: true
description: "`alarm-modes`"
type: string
modes:
required: true
description: List of modes to show on the card. The list can contain `armed_home`, `armed_away`, `armed_night`, `armed_vacation`, `armed_custom_bypass` and `disarmed`.
type: list
{% endconfiguration %}
### Cover open/close
Widget that display buttons to open, close or stop a [cover](/integrations/cover).
@ -148,6 +180,27 @@ type:
type: string
{% endconfiguration %}
### Fan speed
Widget that display speed controls for a [fan](/integrations/fan).
<p class='img'>
<img src='/images/dashboards/tile-features/fan_speed.png' alt='Screenshot of the tile card with fan speed feature'>
Screenshot of the tile card with fan speed feature
</p>
```yaml
features:
- type: "fan-speed"
```
{% configuration %}
type:
required: true
description: "`fan-speed`"
type: string
{% endconfiguration %}
### Light brightness
Widget that display a slider to select the brightness for a [light](/integrations/light).

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB