mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-19 22:24:15 +01:00
22 lines
866 B
Markdown
22 lines
866 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` | Type of the card
|
|
`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']`
|