Card_mod background color

I’ve been messing with this for hours. I’m trying to get the background to change based on which button is selected. So if “Basement” is selected, I want the background of the card to change to a different color. It just remains white. I saw there was an issue with this in card_mod, so it was downgraded to 3.4.4 (not 3.5). I re-downloaded it but still no luck. I can get all the chips to change but I need to color them individually. Any help would be appreciated.

views:
  - title: "Remote Control"
    path: "remote_control"
    cards:

    - type: custom:mushroom-chips-card
      chips:
        - type: template
          entity: media_player.basement_tv_universal_remote
          content: Basement
          tap_action:
            action: call-service
            service: input_select.select_option
            target:
              entity_id:
                - input_select.tv_remote
            data:
              option: Basement
          icon: mdi:home-floor-b
          icon_color: purple
          card_mod:
            style: |
              ha-card {
                --chip-background: {{ 'green' if is_state('input_select.tv_remote', 'Basement') else 'red' }};
              }

        - type: template
          entity: media_player.living_room_tv_universal_remote
          content: Living Rm
          tap_action:
            action: call-service
            service: input_select.select_option
            target:
              entity_id:
                - input_select.tv_remote
            data:
              option: Living Room
          icon: mdi:sofa
          icon_color: purple

It started working a day later. Probably a cache issue I bet.