Template light issue: not passing transition parameter

I’m trying to make a zigbee template light, but I can’t get the ‘transition’ parameter to get passed through to the turn_on section of the template light. Below is a test setup with log messages showing the result of my service calls.

Service calls in Developer Tools:
All of these are using light.turn_on with the entity: light.test_template_light and just modifying the ‘Service Data’

Service call with all parameters that I care about:
This only calls the set_level section of the script and ignores both transition: 60 and color_temp
Service Data:

entity_id: light.test_template_light
transition: 60
color_temp: 250
brightness: 120

Log:

"set_level call: Brightness: "120" Color_Temp: "" Transition: ""

Service call with just color_temp:
This calls the set_temperature section of the script and ignores transition: 60
Service Data:

entity_id: light.test_template_light
transition: 60
color_temp: 250

Log:

"set_temperature call: Brightness: "" Color_Temp: "250" Transition: ""

Service call with just transition:
I mean, how the heck do I get transition through?!?!?!
Service Data:

entity_id: light.test_template_light
transition: 60

Log:

"turn_on call: Brightness: "" Color_Temp: "" Transition: ""

The test template light:

light:
  - platform: template
    lights:
      #  test
      test_template_light:
        friendly_name: "Test Template"
        value_template: "{{ is_state('light.livingroomceiling1', 'on') }}"
        level_template: "{{ state_attr('light.livingroomceiling1', 'brightness')|int }}"
        temperature_template: "{{ state_attr('light.livingroomceiling1', 'color_temp')|int }}"

        turn_on:
          - service: system_log.write
            data_template:
              level: warning
              message: >-
                "turn_on call: Brightness: "{{brightness}}" Color_Temp: "{{ color_temp }}" Transition: "{{transition}}"

        turn_off:      
          - service: system_log.write
            data_template:
              level: warning
              message: >-
                "turn_off call: Brightness: "{{brightness}}" Color_Temp: "{{ color_temp }}" Transition: "{{transition}}"

        set_level:
          - service: system_log.write
            data_template:
              level: warning
              message: >-
                "set_level call: Brightness: "{{brightness}}" Color_Temp: "{{ color_temp }}" Transition: "{{transition}}"

        set_temperature:
          - service: system_log.write
            data_template:
              level: warning
              message: >-
                "set_temperature call: Brightness: "{{brightness}}" Color_Temp: "{{ color_temp }}" Transition: "{{transition}}"

I think this might be a logic issue in homeassistant/components/template/light.py

if ATTR_BRIGHTNESS in kwargs and self._level_script:
            await self._level_script.async_run(
                {"brightness": kwargs[ATTR_BRIGHTNESS]}, context=self._context
            )
        elif ATTR_COLOR_TEMP in kwargs and self._temperature_script:
            await self._temperature_script.async_run(
                {"color_temp": kwargs[ATTR_COLOR_TEMP]}, context=self._context
            )
        elif ATTR_WHITE_VALUE in kwargs and self._white_value_script:
            await self._white_value_script.async_run(
                {"white_value": kwargs[ATTR_WHITE_VALUE]}, context=self._context
            )
        elif ATTR_HS_COLOR in kwargs and self._color_script:
            hs_value = kwargs[ATTR_HS_COLOR]
            await self._color_script.async_run(
                {"hs": hs_value, "h": int(hs_value[0]), "s": int(hs_value[1])},
                context=self._context,
            )

Does this section need to have "transition":kwargs[ATTR_TRANSITION] in there somewhere?

Is there a way to have a template light that has a section for set_level_and_temperature or something?

I have no idea what I’m doing?

Side question: How do I show debug info for template lights using the logger?

homeassistant.components.template.light: debug 

isn’t showing me any info when I do stuff with my template lights.

Thanks.