From 3839ff250742a825f417865ec0e41274d27957e8 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Tue, 11 Jan 2022 00:22:00 +0100 Subject: [PATCH] Fix hallway doorbell automation after switch to z-wavejs --- .../automations/hallway-doorbell.yaml | 22 ++++--------------- 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/configuration/automations/hallway-doorbell.yaml b/configuration/automations/hallway-doorbell.yaml index 69b6e42..3f40e86 100644 --- a/configuration/automations/hallway-doorbell.yaml +++ b/configuration/automations/hallway-doorbell.yaml @@ -19,28 +19,14 @@ - service: script.turn_on entity_id: script.doorbell_bell - service: script.pause_all_players - - service: light.turn_on + - service: zwave_js.set_config_parameter data: - effect: Police - target: - entity_id: light.desk_lightbar_ambilight - - service: zwave.set_config_parameter - data: - node_id: 12 - parameter: 7 + parameter: '7' value: 'Door bell music' + target: + device_id: 1502b537888f71390cd2b5adfaec6430 - service: switch.turn_on entity_id: switch.siren_switch - - delay: - seconds: 10 - - service: light.turn_on - data: - hs_color: [ 240,100 ] - entity_id: light.desk_lightbar_ambilight - - delay: - seconds: 5 - - service: light.turn_off - entity_id: light.desk_lightbar_ambilight - id: hallway-doorbell-bell-burn-prevention alias: '[Hallway] Doorbell bell burn prevention'