"for" in wait_template in automation

Hi folks, is there a elegant way for adding a on time on a wait_template, like “for” in triggers?
Background: The automation triggers, does something and then should wait until a numeric value (in this case current) is under a certain value for e.g. 5 minutes - I know I could do it with a second automation which is triggered by the first one, but working in one automation would be nicer - thanks!

something like this:

wait_for_trigger:
  - platform: numeric_state
    entity_id: sensor.fuse_box_meter_channel_1_power
    for:
      hours: 0
      minutes: 5
      seconds: 0
    below: '100'

Ah, didn’t know I can use all trigger platforms - I’ll give a try - thank you!

1 Like