Hi Community,
I am hoping to get some advice to achieve a simple icon based status monitor.
I am currently using custom button cards which mostly gets what I am after, but it has a hideous amount of blank space around. I am trying to fit this along with other items on a 1920x1080 display so space is crucial.
I have the code to change colour based on state. Essentially my goal is to be able look at my display, see rows of 5 or 6 icons each, either Green for up, Red for down.
Here is the code I am using so far:
- type: custom:button-card
entity: sensor.uptimekuma_bookstack
show_name: false
show_icon: true
icon: mdi:book
show_state: false
tap_action:
action: more-info
state:
- value: down
color: red
- value: up
color: green
grid_options:
columns: 3
rows: 1
- type: custom:button-card
entity: sensor.uptimekuma_flood
show_name: false
show_icon: true
icon: mdi:waves
show_state: false
tap_action:
action: more-info
state:
- value: down
color: red
- value: up
color: green
grid_options:
columns: 3
rows: 1
And so on for each service.
Any advice to fit more icons per row neatly?