diff --git a/source/_components/alarm_control_panel.manual.markdown b/source/_components/alarm_control_panel.manual.markdown index d4f6227fa4b..0bdb28cd801 100644 --- a/source/_components/alarm_control_panel.manual.markdown +++ b/source/_components/alarm_control_panel.manual.markdown @@ -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 +``` diff --git a/source/_docs/z-wave/device-specific.markdown b/source/_docs/z-wave/device-specific.markdown index a73ffd58e32..1ea1d06f473 100644 --- a/source/_docs/z-wave/device-specific.markdown +++ b/source/_docs/z-wave/device-specific.markdown @@ -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 %}