mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-21 06:54:24 +01:00
Example:
```
cards:
- type: cardAlarm
title: Alarm Test 1
entity: alarm_control_panel.alarmo
supportedFeatures: 14
```
* add docs for suportedModes
Co-authored-by: Johannes <johannes+develop+github@braun-rheingau.de>
22 lines
872 B
Markdown
22 lines
872 B
Markdown
# Alarm Card
|
|
|
|

|
|
|
|
```yaml
|
|
cards:
|
|
- type: cardAlarm
|
|
title: Alarm Test 1
|
|
entity: alarm_control_panel.alarmo
|
|
```
|
|
|
|
List of supported config keys of this card:
|
|
|
|
key | optional | type | default | description
|
|
-- | -- | -- | -- | --
|
|
`type` | False | string | `None` | Used by navigate items
|
|
`title` | True | string | `None` | Title of the Page
|
|
`entity` | False | string | `None` | contains the entity of the current card
|
|
`key` | True | string | `None` | Used by navigate items
|
|
`alarmControl` | True | complex | `None` | overwrites the action executed on pressing the left bottom icon, by default this button is used to show a list of open sensors on a failed attempt to arm.
|
|
`supportedModes` | True | list | `None` | Supply list of arm modes if you want to limit the modes on the card. Example `['arm_away', 'arm_night']`
|