From aca906a5e5dee1756d729acef5cb5f7d8857c9cd Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Fri, 29 Apr 2022 21:29:59 +0200 Subject: [PATCH] Fix alarm siren --- configuration/automations/alarm.yaml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/configuration/automations/alarm.yaml b/configuration/automations/alarm.yaml index 54eac31..71285bb 100644 --- a/configuration/automations/alarm.yaml +++ b/configuration/automations/alarm.yaml @@ -116,11 +116,12 @@ message: "ALARM! Pending for disarm" data: importance: max - - service: zwave.set_config_parameter - data: - node_id: 12 - parameter: 7 - value: 'Door bell music' + - service: zwave_js.set_config_parameter + data: + parameter: '7' + value: '2' + target: + entity_id: switch.siren_alarm - service: switch.turn_on entity_id: switch.siren_switch @@ -136,10 +137,11 @@ message: "ALARM! The alarm has been triggered" data: importance: max - - service: zwave.set_config_parameter + - service: zwave_js.set_config_parameter data: - node_id: 12 - parameter: 7 - value: 'Alarm music' + parameter: '7' + value: '1' + target: + entity_id: switch.siren_alarm - service: switch.turn_on entity_id: switch.siren_switch \ No newline at end of file