Advanced UI customization - happy fun times.
You’re going to want to look at custom button card…
There’s TONS of examples in this thread on what you can do with it:
Fun with custom:button-card - Share your Projects! / Lovelace & Frontend - Home Assistant Community (home-assistant.io)
You’ll also need to learn how to do Template Sensors, and groups to be successful.
How this plays out In my setup: I have a group for all my locks
Group - Home Assistant (home-assistant.io)

I have a custom button card that uses that group as its base entity - but depending on how things are - I change the color state, icon and actions that the card does. Green/blue and lock icon if all locks are locked (I have separate conditions whether the alarm is armed or not) Yellow, unlocked icon if any one is open, Soon I’m planning on adding Orange if any are unknown / jammed. etc.
Pressing on the button, brings up the more info card for the group
where i can see individual states, Long press on the button issues a lock command to the entire group - effectively lock all.
card code for reference:
type: custom:button-card
entity: group.all_locks
name: Locks
tap_action:
action: more-info
hold_action:
action: call-service
service: lock.lock
service_data:
entity_id: entity
state:
- value: unlocked
color: Gold
icon: mdi:lock-open
- value: locked
color: Green
icon: mdi:lock