Why switch template state color not working if listed within group?

I have a switch template for my TV (ccbr) which is all working good and the state color was displaying correctly on lovelace. but if I include this switch within a group and list this group on lovelace, when I click on the group to get the More-Info dialog, the state color wasn’t activate. Then I noticed, if I turn the switch into a light, the state color actually work :thinking: am I missing something ?

switch.yaml
- platform: template
  switches:
    ccbr_power:
      friendly_name : "CCBR"
      value_template : '{{ is_state("sensor.ccbr_powermon","on") }}'
      turn_on:
        - service: script.turn_on_ccbr
      turn_off:
        - service: script.turn_off_ccbr
      icon_template: >-
          {% if is_state("sensor.ccbr_powermon", "on") %}
            mdi:television-classic
          {% else %}
            mdi:television-classic-off
          {% endif %}

ui-lovelace.yaml
 - title: Test  
    cards:
    - type: entities
      title: Test
      show_header_toggle: false
      state_color: true
      entities:
      - switch.ccbr_power
      - group.test_group

groups.yaml
test_group:
  name: test group
  entities:
  - switch.ccbr_power
  - light.test_ccbr_power_light

light.yaml
- platform: switch
  name: test CCBR power (light)
  entity_id: switch.ccbr_power