Call a timer in automation where timer is defined in a input_select

I try to do this

service: timer.start
data: {}
target:
  entity_id: {{ states('input_select.select_cooking_timer') }}

if i enter {{ states('input_select.select_cooking_timer') }} this in template i get this

timer.kitchen_008_grahamsbrod_haevetid

and that is a valid timer

I hope someone can show me the way around

You forgot to quote your template. Like this:

service: timer.start
data: {}
target:
  entity_id: "{{ states('input_select.select_cooking_timer') }}"

tak, it work, and you where fast,

1 Like