Hi All,
Is there a way to add wait templates in a automation without have them in a line
- wait_template: "{{ is_state(motion_toilet, 'off') }}"
- service: light.turn_off
entity_id: light.toilet_all
- wait_template: "{{ is_state(motion_kitchen, 'off') }}"
- service: light.turn_off
entity_id: light.kitchen_all
Above have toe problem that it will wait for first action. If done then the second one will run.
But what I want is use them without wait for each other. Sometimes kitchen is earlier off the toilet.
Now created a workaround and by making 2 different automations that will only wait for 1 specific wait moment. Then they can run separate from each other.