Try it like this:
- delay: '00:00:{{ states.input_slider.timer_options_slider.state | int }}'
Try it like this:
- delay: '00:00:{{ states.input_slider.timer_options_slider.state | int }}'
Thank you!
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.
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