Change Mushroom Chip Color

trying to change a mushroom chip card color and it doesn’t appear to be working

type: custom:mushroom-chips-card
chips:
  - type: entity
    entity: switch.kasa_smart_wi_fi_plug
    tap_action:
      action: toggle
    name: Table Light
    use_entity_picture: false
    content_info: name
    icon_color: |-
      {% if is_state('switch.kasa_smart_wi_fi_plug', 'on') %}
        orange
      {% else %}
        black
      {% endif %}

you can only use icon_color templates if it’s a template chip.
if you change it to template you can change the colour the way you have.