Skip to content

Commit 6b9956a

Browse files
netopiaxfabaff
authored andcommitted
Doc improvements to alarm control panel, zwave (home-assistant#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
1 parent 49d8cd0 commit 6b9956a

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

source/_components/alarm_control_panel.manual.markdown

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,33 @@ automation:
7979
service: alarm_control_panel.alarm_trigger
8080
entity_id: alarm_control_panel.ha_alarm
8181
```
82+
83+
Sending a notification when the alarm is triggered.
84+
85+
```yaml
86+
automation:
87+
- alias: 'Send notification when alarm triggered'
88+
trigger:
89+
- platform: state
90+
entity_id: alarm_control_panel.ha_alarm
91+
to: 'triggered'
92+
action:
93+
- service: notify.notify
94+
data:
95+
message: "ALARM! The alarm has been triggered"
96+
```
97+
98+
Disarming the alarm when the door is properly unlocked.
99+
100+
```yaml
101+
automation:
102+
- alias: 'Disarm alarm when door unlocked by keypad'
103+
trigger:
104+
- platform: state
105+
entity_id: sensor.front_door_lock_alarm_type
106+
to: '19'
107+
# many z-wave locks use Alarm Type 19 for 'Unlocked by Keypad'
108+
action:
109+
- service: alarm_control_panel.alarm_disarm
110+
entity_id: alarm_control_panel.house_alarm
111+
```

source/_docs/z-wave/device-specific.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ You can set the settings of the Z-Wave device through the Z-Wave control panel.
2323

2424
These devices require a network key to be set for the Z-Wave network before they are paired, using the **Add Node Secure** option.
2525

26-
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.
26+
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.
2727

2828
### {% linkable_title Specific Devices %}
2929

0 commit comments

Comments
 (0)