Add wait for conditions in the actions part of the automations ui

If you want conditions in you action like:

trigger:
  climate change to heat or
  climate change to auto
condition:
  window_1 is open or
  window_2 is open
action:
  change climate to off
  wait_for_conditon (timeout: 10 min):  // <- Feature Request
    window_1 is close and // <- currently not possible; only an or via wait_for_trigger
    window_2 is close
  change climate to auto

currently you must use a template (and to know the script syntax), but an integration in the UI would remove this need. Currently the only integration is wait_for_trigger and there you can’t add conditional stuff like logic not, and, or , … .

A wait_for_condition or maybe wait_until would be nice, and would allow to do more complicated waits without the need for condition.

The example of @Root-DE in the post above in actual code would now need a wait_template which needs knowledge on jinja templates

wait_template: "{{ is_state('binary_sensor.window_1', 'off') and is_state('binary_sensor.window_2', 'off') }}"

While having something like wait_for_condition or wait_until it could be clicked together using the GUI

wait_until:
  - condition: state
    entity_id: binary_sensor.window_1
    state: "off"
  - condition: state
    entity_id: binary_sensor.window_2
    state: "off"