#Help with timers in automations

1 messages · Page 1 of 1 (latest)

old spear
#

Can somebody help me explain why this is working:

service: timer.start entity_id: timer.garage_lights_on_timer data_template: duration: "{{ '00:0%i:00' % (states('input_number.garage_lights_on_minutes') | int ) }}"

#

But this isn't?

service: timer.change entity_id: timer.garage_lights_on_timer data_template: duration: "{{ '00:0%i:00' % (states('input_number.garage_lights_on_minutes') | int ) }}"