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