Help with light template with rgb?

Hi,

I wanted to create a switch which turns on two switches tasmota with led. First the switch should turn on the relay and after a delay the LED itself. So the code works but my issue is now when I want to click the switch to change the brightness or color it does not show up. Is this somehow possible with the light template switch?

TIA!

59%20AM

- platform: template
    lights:
      cabinet_led_template:
        value_template: "{{ is_state('light.cabinet_led_bme_right_pwr', 'on') }}"
        turn_on:
          - service: light.turn_on
            entity_id: light.cabinet_led_bme_right_pwr
          - delay: 
              milliseconds: 300
          - service: light.turn_on
            entity_id: light.cabinet_led_bme_right_led         
        turn_off:        
          - service: light.turn_off
            entity_id: light.cabinet_led_bme_right_led
          - delay: 
              seconds: 4
          - service: light.turn_off
            entity_id: light.cabinet_led_bme_right_pwr 

A Template Light supports brightness via its set_level option. The first example in the documentation show how to do it.

Template Light doesn’t have an option for setting color.

Thanks for the info!

is it somehow possible to have dummy light switch with rgb? so I can automate it in node-red?