Files
nspanel-lovelace-ui/docs/card-alarm.md
WM bace524fb4 Possibility to overwrite in config supported_features of an Alarm Control Panel to resolve #352
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>
2022-08-24 17:44:34 +02:00

22 lines
872 B
Markdown

# Alarm Card
![card-alarm](img/card-alarm.png)
```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']`