Input Slider with transition?

Is it possible to add a transition to an input slider to slow it down to whatever number (seconds) I add?

I’ve tried a couple of ways like this

office_light_slider_25:
  sequence:
    - service: input_slider.select_value
      entity_id: input_slider.office_light_brightness
      data:
        value: 25
        transition: 5


office_light_slider_25:
  sequence:
    - service: input_slider.select_value
      entity_id: input_slider.office_light_brightness
      data:
        value: 25
        data:
          transition: 5

None of them worked, but it didn’t report any errors either.

No, this is not possible with an input_slider since a input_slider does not have/use the transition attribute.

I think you are looking for the light component to do what you want:

      - service: light.turn_on
        data:
          entity_id: light.office_light
          brightness: 25
          transition: 5

You can also add Input Sliders for the brightness and the transition times. The next example shows how you can call the same service I used above, but using the values of input slider instead of a static value:

      - service: light.turn_on
        data_template:
          entity_id: light.office_light
          brightness: '{{ input_slider.office_light_brightness }}'
          transition: '{{ input_slider.office_light_transition }}'

Thanks a lot, I’ll play around with this later :slight_smile: