Can I just confirm the difference between these two statements:
- wait_for_trigger:
- platform: state
entity_id:
- timer.ensuite_bathroom_fan_timer
to: idle
and
- wait_template: "{{states('timer.ensuite_bathroom_fan_timer')=='idle'}}"
continue_on_timeout: true
Am right in saying that wait for trigger will wait forever for the state to change to idle, if its current state is already idle, but wait_template simply waits for the template to evaluate to true, which could be instantly if the state is already idle when evaluated in an automation ?