Hi, I’m having trouble with the following code I’m trying to make a icon of a battery sensor to be very large on the screen as it is in the RV and it needs to be glanceable while driving.
I have most things working but I just can’t get the size of the icon to be large. I’m not quite sure where I should place it any help would be greatly accepted.
I’m no coder so tell me like I’m 5yrs old
type: custom:button-card
entity: sensor.victron_shunt_soc_226
name: Main Battery
show_state: true
state:
- color: green
icon: mdi:battery
operator: ‘>=’
value: 95 - color: green
icon: mdi:battery-90
operator: ‘>=’
value: 85 - color: green
icon: mdi:battery-80
operator: ‘>=’
value: 75 - color: green
icon: mdi:battery-70
operator: ‘>=’
value: 65 - color: green
icon: mdi:battery-60
operator: ‘>=’
value: 55 - color: green
icon: mdi:battery-50
operator: ‘>=’
value: 45 - color: green
icon: mdi:battery-40
operator: ‘>=’
value: 31 - color: green
icon: mdi:battery-30
operator: ‘>=’
value: 25 - color: orange
icon: mdi:battery-20
operator: ‘>=’
value: 16 - color: red
icon: mdi:battery-10
operator: <
view_layout:
grid-area: c1