Skip to content

Commit e9ef492

Browse files
authored
Fan and alarm tile features (#26851)
1 parent eae4e02 commit e9ef492

File tree

3 files changed

+53
-0
lines changed

3 files changed

+53
-0
lines changed

source/_dashboards/tile.markdown

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,38 @@ Some color tokens are available to colorize the tile card : `primary`, `accent`,
106106

107107
Some entities have support for "features". These widgets add quick controls to the tile card.
108108

109+
### Alarm modes
110+
111+
Widget that display buttons to arm and disarm an [alarm](/integrations/alarm_control_panel).
112+
113+
<p class='img'>
114+
<img src='/images/dashboards/tile-features/alarm_modes.png' alt='Screenshot of the tile card with alarm modes feature'>
115+
Screenshot of the tile card with alarm modes feature
116+
</p>
117+
118+
```yaml
119+
features:
120+
- type: "alarm-modes"
121+
modes:
122+
- armed_home
123+
- armed_away
124+
- armed_night
125+
- armed_vacation
126+
- armed_custom_bypass
127+
- disarmed
128+
```
129+
130+
{% configuration %}
131+
type:
132+
required: true
133+
description: "`alarm-modes`"
134+
type: string
135+
modes:
136+
required: true
137+
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`.
138+
type: list
139+
{% endconfiguration %}
140+
109141
### Cover open/close
110142

111143
Widget that display buttons to open, close or stop a [cover](/integrations/cover).
@@ -148,6 +180,27 @@ type:
148180
type: string
149181
{% endconfiguration %}
150182

183+
### Fan speed
184+
185+
Widget that display speed controls for a [fan](/integrations/fan).
186+
187+
<p class='img'>
188+
<img src='/images/dashboards/tile-features/fan_speed.png' alt='Screenshot of the tile card with fan speed feature'>
189+
Screenshot of the tile card with fan speed feature
190+
</p>
191+
192+
```yaml
193+
features:
194+
- type: "fan-speed"
195+
```
196+
197+
{% configuration %}
198+
type:
199+
required: true
200+
description: "`fan-speed`"
201+
type: string
202+
{% endconfiguration %}
203+
151204
### Light brightness
152205

153206
Widget that display a slider to select the brightness for a [light](/integrations/light).
8.43 KB
Loading
8.59 KB
Loading

0 commit comments

Comments
 (0)