Add component collection
This commit is contained in:
parent
9702d39c42
commit
120dbf547d
113 changed files with 323 additions and 120 deletions
65
source/_components/alarm_control_panel.manual.markdown
Normal file
65
source/_components/alarm_control_panel.manual.markdown
Normal file
|
@ -0,0 +1,65 @@
|
|||
---
|
||||
layout: page
|
||||
title: "Manual alarm support"
|
||||
description: "Instructions how to integrate manual alarms into Home Assistant."
|
||||
date: 2015-10-13 19:10
|
||||
sidebar: false
|
||||
comments: false
|
||||
sharing: true
|
||||
footer: true
|
||||
ha_category: Alarm Control Panel
|
||||
---
|
||||
|
||||
<img src='/images/supported_brands/preferences-system-privacy.png' class='brand pull-right' />
|
||||
This platform enables you to set manual alarms in Home Assistant.
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
alarm_control_panel:
|
||||
platform: manual
|
||||
name: "HA Alarm"
|
||||
code: PASSCODE
|
||||
pending_time: 60
|
||||
trigger_time: 120
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **name** (*Optional*): The name of the alarm. Default is 'HA Alarm'.
|
||||
- **code** (*Optional*): If defined, specifies a code to enable or disable the alarm in the frontend.
|
||||
- **pending_time** (*Optional*): The time in seconds of the pending time before arming the alarm. Default is 60 seconds.
|
||||
- **trigger_time** (*Optional*): The time in seconds of the trigger time in which the alarm is firing. Default is 120 seconds.
|
||||
|
||||
|
||||
## {% linkable_title Examples %}
|
||||
|
||||
In this section you find some real life examples of how to use this panel.
|
||||
|
||||
### {% linkable_title Sensors %}
|
||||
|
||||
Using sensors to trigger the alarm.
|
||||
|
||||
```yaml
|
||||
automation:
|
||||
- alias: 'Trigger alarm while armed away'
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sensor.pir1
|
||||
state: 'active'
|
||||
- platform: state
|
||||
entity_id: sensor.pir2
|
||||
state: 'active'
|
||||
- platform: state
|
||||
entity_id: sensor.door
|
||||
state: 'open'
|
||||
- platform: state
|
||||
entity_id: sensor.window
|
||||
state: 'open'
|
||||
condition:
|
||||
- platform: state
|
||||
entity_id: alarm_control_panel.ha_alarm
|
||||
state: armed_away
|
||||
action:
|
||||
service: alarm_control_panel.alarm_trigger
|
||||
entity_id: alarm_control_panel.ha_alarm
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue