- id: hallway-doorbell alias: '[Hallway] Doorbell' mode: restart trigger: - platform: state entity_id: switch.doorbell_button_switch from: 'off' to: 'on' action: - service: notify.notify data: message: "Doorbell" - choose: - conditions: - condition: state entity_id: input_boolean.mute_doorbell state: 'off' sequence: - service: script.turn_on entity_id: script.doorbell_bell - service: script.pause_all_players - service: zwave_js.set_config_parameter data: parameter: '7' value: 'Door bell music' target: device_id: 1502b537888f71390cd2b5adfaec6430 - service: switch.turn_on entity_id: switch.siren_switch - id: hallway-doorbell-bell-burn-prevention alias: '[Hallway] Doorbell bell burn prevention' mode: restart trigger: - platform: state entity_id: switch.doorbell_bell from: 'off' to: 'on' for: seconds: 1 action: - service: switch.turn_off entity_id: switch.doorbell_bell