I am trying to use the automation from this video https://www.youtube.com/watch?v=1U6SQDU6f24 to have my doorbell chime.
Below is the code I have. My questions are two fold.
the scene_id: wled_no_doorbell, how is it created and
the scene: scene.wled_light_solid_red how is it created.
I have attempted to create them using the scene ui, but am very lost.
Any help is appreciated.
####################################################
# DAHUA DOORBELL BLINK 2021Apr30 #
####################################################
- id: '1619127139681'
alias: Doorbell - Blink lights
description: Doorbell - Blink lights
trigger:
- platform: state
entity_id: binary_sensor.doorbell_button_state
from: 'off'
to: 'on'
condition: []
action:
- service: scene.create
data:
scene_id: wled_no_doorbell
snapshot_entities: light.wled
- type: turn_off
device_id: bb0e217d878ad45cdcdd232e44c2244d
entity_id: light.wled
domain: light
- delay: '1'
- scene: scene.wled_light_solid_red
- delay: '5'
- type: turn_off
device_id: bb0e217d878ad45cdcdd232e44c2244d
entity_id: light.wled
domain: light
- delay: '1'
- scene: scene.wled_no_doorbell
mode: single
####################################################
# END OF CONFIGURATION FILE #
####################################################