Doc improvements to alarm control panel, zwave (#3601)

* Adding examples for notifications, disarming

* Remove old reference to options.xml

Options.xml isn't needed for network key anymore, it should be set in configuration.yaml. Linked that section back to the main Z-Wave page that explains it.

* Add blank lines
This commit is contained in:
Colin Teubner 2017-10-31 06:41:49 -07:00 committed by Fabian Affolter
parent 49d8cd0819
commit 6b9956a2d8
2 changed files with 31 additions and 1 deletions

View File

@ -79,3 +79,33 @@ automation:
service: alarm_control_panel.alarm_trigger
entity_id: alarm_control_panel.ha_alarm
```
Sending a notification when the alarm is triggered.
```yaml
automation:
- alias: 'Send notification when alarm triggered'
trigger:
- platform: state
entity_id: alarm_control_panel.ha_alarm
to: 'triggered'
action:
- service: notify.notify
data:
message: "ALARM! The alarm has been triggered"
```
Disarming the alarm when the door is properly unlocked.
```yaml
automation:
- alias: 'Disarm alarm when door unlocked by keypad'
trigger:
- platform: state
entity_id: sensor.front_door_lock_alarm_type
to: '19'
# many z-wave locks use Alarm Type 19 for 'Unlocked by Keypad'
action:
- service: alarm_control_panel.alarm_disarm
entity_id: alarm_control_panel.house_alarm
```

View File

@ -23,7 +23,7 @@ You can set the settings of the Z-Wave device through the Z-Wave control panel.
These devices require a network key to be set for the Z-Wave network before they are paired, using the **Add Node Secure** option.
Home Assistant stores logs from Z-Wave in `OZW.log` in the Home Assistant config directory, when you pair a secure device you should see communication from the node with lines starting with `info: NONCES` in `OZW.log` when the device is paired successfully with a secure connection.
Home Assistant stores logs from Z-Wave in `OZW_log.txt` in the Home Assistant config directory, when you pair a secure device you should see communication from the node with lines starting with `info: NONCES` in `OZW_log.txt` when the device is paired successfully with a secure connection.
### {% linkable_title Specific Devices %}