How would you enter this in the new automation editor?
- alias: Change Brightness
trigger:
platform: state
entity_id: input_slider.lamp_bright
action:- service: light.turn_on
data_template:
entity_id: light.your_light_here
brightness: ‘{{ states.input_slider.lamp_bright.state | int }}’
- service: light.turn_on