Eufy door sensor automation + speak

the single automation is running fine

alias: Notify send message if voordeur is open
description: ""
triggers:
  - type: opened
    device_id: d226e1b37368a9ecc14b6b64eb30096e
    entity_id: 07b9cbd4618d1d1d7d2ed5e510979760
    domain: binary_sensor
    trigger: device
conditions: []
actions:
  - action: tts.speak
    target:
      entity_id: tts.google_nl_nl
    data:
      cache: true
      media_player_entity_id: media_player.google_nest_audio_woonkamer_paar
      message: Voordeur open
      language: nl
mode: single

I tried to extend the auomation however it is not running nor a message on the google speaker.

  • Door open
  • Door closed
  • Door longer open the 3 minutes warning
    Who can tell me what is wrong.
alias: Voordeur open/dicht melding en waarschuwing
description: Geeft melding bij openen/dichtgaan van voordeur en waarschuwing na 3 minuten
triggers:
  - entity_id: binary_sensor.voordeur
    to: "on"
    id: deur_open
    trigger: state
  - entity_id: binary_sensor.voordeur_sensor_open
    to: "off"
    id: deur_dicht
    trigger: state
  - entity_id: binary_sensor.voordeur_sensor_open
    to: "on"
    for: "00:03:00"
    id: deur_te_lang_open
    trigger: state
conditions: []
actions:
  - choose:
      - conditions:
          - condition: trigger
            id: deur_open
        sequence:
          - target:
              entity_id: tts.google_nl_nl
            data:
              cache: true
              media_player_entity_id: media_player.google_home_kantoor
              message: De voordeur is open
              language: nl
            action: tts.speak
      - conditions:
          - condition: trigger
            id: deur_dicht
        sequence:
          - target:
              entity_id: tts.google_nl_nl
            data:
              cache: true
              media_player_entity_id: media_player.google_home_kantoor
              message: De voordeur is weer dicht
              language: nl
            action: tts.speak
      - conditions:
          - condition: trigger
            id: deur_te_lang_open
        sequence:
          - target:
              entity_id: tts.google_nl_nl
            data:
              cache: true
              media_player_entity_id: media_player.google_home_kantoor
              message: Let op, de voordeur is al meer dan drie minuten open!
              language: nl
            action: tts.speak
mode: restart

can you share the history of respective sensor? I am curious if the sensor goes on for 10 (random) number and goes back off afterwards or it stays like on state while door is open.

PS: I do not own a sensor rather I am the developer of custom integration.

i’m not sure what you mean by history.

Voordeur open/dicht melding en waarschuwing triggered by state of Voordeur Sensor open
7:10:15 PM - 1 hour ago
Google Nest Mini (Hal) changed to Idle triggered by automation Voordeur open/dicht melding en waarschuwing triggered by state of Voordeur Sensor open
7:10:15 PM - 1 hour ago
Google Nest Mini (Hal) changed to Buffering triggered by automation Voordeur open/dicht melding en waarschuwing triggered by state of Voordeur Sensor open
7:10:15 PM - 1 hour ago
Google Nest Mini (Hal) changed to Playing triggered by automation Voordeur open/dicht melding en waarschuwing triggered by state of Voordeur Sensor open
7:10:15 PM - 1 hour ago
Google Nest Mini (Hal) changed to Idle triggered by automation Voordeur open/dicht melding en waarschuwing triggered by state of Voordeur Sensor open
7:10:18 PM - 1 hour ago

The issue is that in the simple automation the notification goes to the google speaker.
In the advance automation there is no message on the google speaker :frowning:

I am asking the history of binary sensor (Voordeur Sensor open)

I solved it. With help of youtube and trigger id’s.