Ok, i’m going banana’s here… i can’t figure out why my icon isn’t show? expecting a differnt icon for different states…
Any insights?
type: custom:button-card
show_name: true
show_icon: true
show_label: true
show_state: false
tap_action:
action: toggle
entity: cover.blinds
name: Blinds
icon_height: 15px
state:
- value: 'Closed'
color: '#212529'
icon: mdi:blinds-open
- value: 'Open'
color: '#ffd600'
icon: mdi:blinds-vertical-closed
styles:
card:
- padding: 1em
- height: 100%
- '--mdc-ripple-color': '#ffd600'
- '--mdc-ripple-press-opacity': 0.5
name:
- font-size: 1em
- white-space: normal
state:
- font-size: 0.75em
- white-space: normal
label:
- font-size: 0.75em
- white-space: normal