Slider to set timer (minutes)

Try it like this:

- delay: '00:00:{{ states.input_slider.timer_options_slider.state | int }}'

Thank you!

Hi @xbmcnut. Still need it? Iā€™m sorry for my late response :slight_smile:

I got it working but itā€™s always valuable to have others. Could you share?

timer_off_brm:
  alias: "Ceiling light bedroom timer"
  sequence:
    - delay: '00:{{ states.input_slider.slider2.state | int }}:00'
    - service: homeassistant.turn_off
      data:
        entity_id: switch.wall_plug

Thank you!

Hi, I tried adding this config to my automation file but nothingā€™s showing up in the frontend

plug_off:
  alias: "Ceiling light bedroom timer"
  sequence:
    - delay: '00:{{ states.input_slider.plug.state | int }}:00'
    - service: homeassistant.turn_off
      data:
        entity_id: switch.power_plug

When I reboot home assistant, it wouldnā€™t start because of an error so I had it removed

Any recommendation on how I can fix this?

did you ever get this resolved? i have some experience with input sliders and time templates if not.

I managed to get this working thanks to this post.

Hi,
I just tried this config, but not working for me:

   trigger:
      platform: time
      at: '{{ states.input_number.ontozo_ora.state | int }}:{{ states.input_number.ontozo_perc.state | int }}:00'

Any idea?

Thank you