#- wait_for_trigger:

1 messages · Page 1 of 1 (latest)

hasty moon
#

Where do I find - wait_for_trigger: in the automation UI? When I click on add building block, I do not see this option.

atomic coyote
#

maybe you need advanced mode enabled?

#

I showed you my screenshot, right?

hasty moon
#

You did, and I do not see what you sent

#

Where is the advanced mode for the automation edititor?

atomic coyote
#

not just for automations, in your profile at the lower-left

hasty moon
#

Do I need to reboot / restart after?

atomic coyote
#

no

hasty moon
#

Still don't see it.

#

is all I see

atomic coyote
#

that's not in the action section

#

those are conditions

hasty moon
#

Where is the action section? Mine says when, And if, then do

atomic coyote
#

"then do"

hasty moon
#

I see it now. I expected it much earlier.

#

Thanks

atomic coyote
hasty moon
#

I just tried it and the automation did not wait for the trigger, before it sent the notification. Do I need to change the order of the actions?

atomic coyote
#

doubtful

#

plesae share the YAML

hasty moon
#

I changed the order and it now works

#

alias: Dryer is done
description: Notifies when dryer goes from high power to 5w
triggers:

  • entity_id:
    • sensor.dryer_3rsp02028bz_power
      above: "10"
      for:
      minutes: 1
      trigger: numeric_state
      actions:
  • wait_for_trigger:
    • trigger: numeric_state
      entity_id:
      • sensor.dryer_3rsp02028bz_power
        below: 5
  • action: notify.mobile_app_pixel_9_pro_xl
    metadata: {}
    data:
    message: Dryer is complete at {{now().strftime("%H:%M")}}
  • action: tts.google_translate_say
    metadata: {}
    data:
    cache: false
    entity_id: media_player.notification_speakers
    message: Dryer has stopped
    mode: single
atomic coyote
#

I mean, you do have to wait before doing the thing you wanted to do after the waiting