If I understand correctly, wait_for_trigger action in an automation will not fire when the condition is already met. It will only fire when changing from false to true.
In my automation the action shown below, the sensor state value is 32 and the variable target_humidity is 35 and the wait_for_trigger times out.
wait_for_trigger:
- trigger: template
value_template: >-
{{ states('sensor.apollo_msr_2_173094_scd40_humidity') | float < target_humidity }}
for:
minutes: 5
timeout:
minutes: 30
What are the options to change the automation to fire immediately or ignore the wait_for_trigger?
Assuming that my understanding of wait_for_trigger is correct, would a feature request be to add a flag to wait_for_trigger to fire immediately if the trigger value is already met?