I'm using a mushroom-chips-card and trying to get the icon in the center to animate using card_mod. i can't seem to figure out the magic to target the right selector.
card:
type: custom:mushroom-chips-card
chips:
- type: template
icon: mdi:fan
tap_action:
action: toggle
entity: fan.snooz
card_mod:
style: |
ha-card {
padding: 5px!important;
border-radius: 100px!important;
}
ha-icon {
animation: slow-rotate 2s linear infinite;
@keyframes slow-rotate {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
}
Can anyone help steer me in the right direction?