mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Fan and alarm tile features (#26851)
This commit is contained in:
parent
422af5a870
commit
21100621c8
@ -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).
|
||||
|
BIN
source/images/dashboards/tile-features/alarm_modes.png
Normal file
BIN
source/images/dashboards/tile-features/alarm_modes.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.4 KiB |
BIN
source/images/dashboards/tile-features/fan_speed.png
Normal file
BIN
source/images/dashboards/tile-features/fan_speed.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.6 KiB |
Loading…
x
Reference in New Issue
Block a user