Alarm Panel Lovelace Documentation (#6822)

* Adding Gauge Card

* Updating Docs

* Resolving Reviews

* Adding Alarm Panel Documentation

* Updating States Lists

* Updating States Keys

* Updating Keys
This commit is contained in:
Zack Arnett 2018-10-15 14:11:00 -04:00 committed by Paulus Schoutsen
parent 9847b4e79e
commit 4762a63c09
3 changed files with 81 additions and 0 deletions

View File

@ -0,0 +1,81 @@
---
layout: page
title: "Alarm Panel Card"
sidebar_label: Alarm Panel
description: "The Alarm Panel allows you to Arm and Disarm your Alarm Control Panel Components"
date: 2018-10-15 10:28 +00:00
sidebar: true
comments: false
sharing: true
footer: true
---
The Alarm Panel allows you to Arm and Disarm your Alarm Control Panel Components.
<p class='img'>
<img src='/images/lovelace/lovelace_alarm_panel_card.gif' alt='Screenshot of the alarm panel card'>
Screenshot of the Alarm Panel card.
</p>
```yaml
- type: alarm-panel
entity: alarm_control_panel.alarm
```
{% configuration %}
type:
required: true
description: alarm-panel
type: string
entity:
required: true
description: "Entity ID of `alarm_control_panel` domain"
type: string
title:
required: false
description: Title of Alarm Panel
type: string
default: Current State of Alarm Entity
states:
required: false
description: Controls which states to have available
type: list
default: arm_home, arm_away
keys:
arm_home:
description: Arm Home
arm_away:
description: Arm Away
arm_night:
description: Arm Night
arm_custom_bypass:
description: Arm Custom Bypass
{% endconfiguration %}
## {% linkable_title Examples %}
Title Example:
```yaml
- type: alarm-panel
title: House Alarm
entity: alarm_control_panel.alarm
```
<p class='img'>
<img src='/images/lovelace/lovelace_alarm_panel_title_card.gif' alt='Screenshot of the alarm panel card'>
Screenshot of the Alarm Panel card.
</p>
Define the State List:
```yaml
- type: alarm-panel
title: House Alarm
entity: alarm_control_panel.alarm
states:
- arm_home
- arm_away
- arm_night
- armed_custom_bypass
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 890 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 834 KiB