Passend zum Artikel (Blinkendes Badge-Icon) hier ein Beispiel für eine blinkende custom:button-card.
Beispielweise, wenn jemand an der Tür klingelt…
configuration.yaml
1type: custom:button-card
2name: Klingel
3entity: switch.tp_link_01
4aspect_ratio: 3/1
5color_type: card
6layout: vertical
7show_last_changed: true
8state:
9 - color: red
10 icon: mdi:bell
11 name: Es hat gekligelt!
12 styles:
13 card:
14 - animation: blink 2s ease infinite
15 value: 'on'
16 - color: '#d4d4d4'
17 icon: mdi:bell
18 operator: default

