Light template is not working

I have tried to use the light template example (Template Light - Home Assistant) in a freshly installed HA installation.
It shows directly major errors in connection with the effect. After commenting out the effect related lines, the configuration has no error anymore and can be restarted.

But with this template, there is no color selector visible anymore. I can only switch it on/off or change the brightness.

It’s hard to comment when you have not showed your template code or the error you are getting.

Sorry you are right.

Here is the code (part of configuration.yaml):

# Example configuration.yaml entry
light:
  - platform: template
    lights:
      theater_lights:
        friendly_name: "Theater Lights"
        level_template: "{{ state_attr('sensor.theater_brightness', 'lux')|int }}"
        value_template: "{{ state_attr('sensor.theater_brightness', 'lux')|int > 0 }}"
        temperature_template: "{{states('input_number.temperature_input') | int}}"
        color_template: "({{states('input_number.h_input') | int}}, {{states('input_number.s_input') | int}})"
#        effect_list_template: "{{ state_attr('light.led_strip', 'effect_list') }}"
        turn_on:
          service: script.theater_lights_on
        turn_off:
          service: script.theater_lights_off
        set_level:
          service: script.theater_lights_level
          data:
            brightness: "{{ brightness }}"
        set_temperature:
          service: input_number.set_value
          data:
            value: "{{ color_temp }}"
            entity_id: input_number.temperature_input
#        set_white_value:
#          service: input_number.set_value
#          data:
#            value: "{{ white_value }}"
#            entity_id: input_number.white_value_input
        set_color:
          - service: input_number.set_value
            data:
              value: "{{ h }}"
              entity_id: input_number.h_input
          - service: input_number.set_value
            data:
              value: "{{ s }}"
              entity_id: input_number.s_input
          - service: light.turn_on
            data_template:
              entity_id:
                - light.led_strip
              transition: "{{ transition | float }}"
              hs_color:
                - "{{ hs[0] }}"
                - "{{ hs[1] }}"
#        set_effect:
#          - service: light.turn_on
#            data_template:
#              entity_id:
#                - light.led_strip
#              effect: "{{ effect }}"
        supports_transition_template: "{{ true }}"

It is a copy of the template and I needed to comment the set_effect and set_white_value to get it working.
The view on a dashboard is the following. It has no option for setting the color:

Because the light isn’t on…