Mushroom blinking entity card

Hi. Is it possible to programe an mushroom entity card so that the icon / button in the dashboard blinks if the door / window is open?

I earlier used the custom button card to do this, but I like the mushroom style better.
Here is the code I used earlier…

type: custom:button-card
color_type: card
entity: binary_sensor.dorsensor_yttetdor
name: Ytterdør
styles:
  card:
    - height: 100px
state:
  - value: 'on'
    color: red
    icon: hass:door-open
    styles:
      card:
        - animation: blink 2s ease infinite
  - operator: default
    icon: hass:door

Is it possible to do the same with mushroom entity card?

5 Likes

Hi. Have you ever figured this out? I’m in the same boat at the moment.

I’ll post here if I manage to find some solution…

Yes would be great, like the Mushroom “Alarm Contro Panel Card”

stumbled upon this one. you guys are gonna love this:

5 pages of animations for mushroom cards!