Custom Border On Mushroom Chips

Dear all,
I would like to change the border color of the icon in my “mushroom chips card”.
The idea is to change between red and green when I will be “not home” or “at home”.

Someone can help me to put the right string to produce this kind of effect?

Here you are the actual code:

type: custom:mushroom-chips-card
chips:
  - type: entity
    entity: device_tracker.iphone_di_anna_4
    tap_action:
      action: none
    hold_action:
      action: none
    double_tap_action:
      action: none
    name: Anna
    content_info: name
    icon: mdi:home-automation
    icon_color: pink
    use_entity_picture: true
  - type: entity
    entity: device_tracker.iphone_marco
    tap_action:
      action: none
    hold_action:
      action: none
    double_tap_action:
      action: none
    name: Marco
    content_info: name
    icon_color: blue
    icon: mdi:home-automation
    use_entity_picture: true
alignment: center

Someone can help me?
Thanks

What do you mean with “the border color of the icon”?

@elchininet
I’ ve my picture on the circle icon of the chips.
I would like that if I’m at home the circle is green instead of is grey

Is it possible?

It should be possible using card-mod. You can add a custom style to your chips with some entity conditions.