Hi everyone,
I have a question about wait_template.
I have the following code:
default:
- event: ahb_controller_event
event_data:
controller: "{{ controller_id }}"
action: button_left_short
- choose:
- conditions: []
sequence:
- action: >
{% if states('input_number.aantal_druk_terras')|float
<= 5 %}
input_number.increment
{% else %}
input_number.min
{% endif %}
target:
entity_id: input_number.aantal_druk_terras
data: {}
- wait_template: >-
{{ (now() - states.input_number.aantal_druk_terras.last_changed).seconds >= 3 }}
- action: input_number.min
target:
entity_id: input_number.aantal_druk_terras
data: {}
but the wait_template does not work. The action after the wait_template is only executed after about 30 seconds. What is wrong here?
Thanks for your response.