Esp32 doorbell

Hi guys!

Im trying to setup this esphome esp32 doorbell

And im a little stuck on the automation, it asks for a device_id: in the automation YAML.

alias: Doorbell push
description: ""
trigger:
  - platform: state
    entity_id:
      - binary_sensor.doorbell_doorbell_button
    from: "off"
    to: "on"
condition: []
action:
  - service: camera.snapshot
    data:
      filename: >-
        /config/www/snapshots/doorbell_{{ now ().year }}{{ now ().month }}{{ now
        ().day }}_{{ now ().hour }}{{ now ().minute }}.jpg
    target:
      device_id: 259cb70a2f3cb893f3ca152e51aefa60
  - service: notify.notify
    data_template:
      title: Doorbell
      message: Someone is at the door
      data:
        image: >-
          /local/images/doorbell_{{ now ().year }}{{ now ().month }}{{ now
          ().day }}_{{ now ().hour }}{{ now ().minute }}.jpg #Must be updated
        clickAction: /lovelace/cameras
mode: single

How in earth do I find the device_id?

Thanks

Try setting up a test automation, then look at the yaml. (You can delete the test automation later).

Yea im doing that now, but now my notifications have completed stopped working.

None of my previous notifications are sending to my device anymore.