So I first struggled endlessly getting what I wanted using the excellent usernein/tailwindcss-template-card) not the I did not get there in the end, but then I wanted a second card in the same style. And in the end I ended up making my own new custom lovelace card for my need, included blueprints (untested) for the advanced automations I have setup that use the cards. And even shared the automations in there whole.
See more on Personal Github, here you will also find the gists and automations
Blueprints
EV Charging: AI Energy Strategist
Find the correct gist on my github johnneerdael/ev-charging-001.yaml
Integrations Used
johnneerdael/Lynk-Co-HA (up to date integration for the EU Lynk & CO from yours truely)
LLM Vision
Pirate-Weather/pirate-weather-ha or any other weather provider with hourly forecasts and sun conditions in it
Frigate or any camera integration that can determine if your car is home
Build-in Sun Integration for next-setting and next-rising time (after all there is no sun at night)
A AI Task integration (I used Google Gemini) this is going to analyze the data to recommend a charging slot
A input_button helper
####Garbage Collection: Vision Verification
Find the correct gist on my github johnneerdael/garbage-collection.yaml
Integrations Used
LLM Vision
Frigate or any camera integration that can physically see your garbage bins
A TTS provider and speakers to send notifications to
Optional: A controllable light to take better snapshots of the garbage bins, my automation knows exactly which bins are out based on the color and we have 4
Automations (gists - not made from blueprint):
EV Charging Automation: johnneerdael/a71b316da3ece86165fe3ae4a9668023
Garbage Collection Automation: johnneerdael/f1907f11554b50ee9eee3391987f9092
Note due to being new I canât add more links or credit people better, sorry!
Next letâs see if i can manage to get a fully functional shadcn/ui HA Card to see if the sky is the limit Progress is here but non-functional atm: shadcn/ui Home Assistant Card
New up to date description: A flexible Home Assistant Lovelace card with a distinctive banner design (that can be disabled) for displaying entity states. This card excels at displaying âCall to Actionâ informationâsituations where the user needs to know something immediately or do something specific. Because of the distinct banner style and the ability to map colors to a flexible number of states, it works best for cards that should support 2 or more different types of states differently. Unique is that the card has no limit to the number of states or associated state colors that you want to report on.
Had to respond since I havenât been sitting still. I basically added tons of configuration options in the WebUI. You can now toggle the triangular accent on or off, change both the height and the width of it over the entire card length and height, made that status-box have a configurable opacity setting and made the title and subtitle font (CHARGENOW and time window is this example) adjustable⌠And for who wasnât aware, the card has been designed to work with multiple states, you can map these state values to a colormap all from the UI which allows you have your card completely transformed in looks depending on the status. Combined with features like AI entity tasks you can also populate the box with extremely unique and difference text based on the state.
Also I believe the card might seem a bit complex at start, and people might struggle thinking of use cases, so Iâve outlined around 20 possible use-cases for the card in my readme but I will add them here to
You can also make the card more compact by disabling the status box and the footer (or one or the other), below some simple examples of the same card with different UI settings.
This card excels at displaying âCall to Actionâ informationâsituations where the user needs to know something immediately or do something specific. Because of the distinct banner style and the ability to map colors to urgency, it works best for binary or ternary states (Good/Warning/Critical).
Home Maintenance & Chores
Washer/Dryer Status
State:Running / Finished / Idle
Banner: âLAUNDRY COMPLETEâ (Green) vs âWASHINGâ (Blue)
Subtitle: âCycle finished 10m agoâ or âTime remaining: 15mâ
Status Text: âPlease move clothes to dryer.â
Dishwasher Cycle
State:Clean / Dirty / Running
Banner: âDISHES CLEANâ (Green) vs âRUNNINGâ (Blue)
Subtitle: âReady to emptyâ
Status Text: âCycle finished at 19:30.â
HVAC Filter Replacement
State:OK / Replace Soon / Overdue
Banner: âFILTER REPLACEâ (Red) vs âAIR SYSTEM OKâ (Green)
Subtitle: âRuntime: 300 hoursâ
Status Text: âAirflow restriction detected. Order generic size 20x20x1.â
Robotic Vacuum
State:Docked / Cleaning / Stuck / Bin Full
Banner: âROBOROCK STUCKâ (Red) or âCLEANINGâ (Blue)
Subtitle: âLocation: Living Roomâ
Status Text: âMain brush entangledâ or âReturning to dock to empty bin.â
Security & Safety
Perimeter/Window Monitor
State:Secure / Open / Raining & Open
Banner: âCLOSE WINDOWSâ (Red) vs âHOUSE SECUREâ (Green)
Subtitle: âRain detectedâ
Status Text: âMaster Bedroom window is currently open while it is raining.â
Garage Door Monitor
State:Closed / Open < 10m / Left Open
Banner: âGARAGE LEFT OPENâ (Red/Stripe)
Subtitle: âOpen for 45 minutesâ
Status Text: âNo motion detected in garage. Tap to close.â
Smart Lock / Guest Access
State:Locked / Unlocked / Jammed
Banner: âFRONT DOOR UNLOCKEDâ (Orange)
Subtitle: âAuto-lock disabledâ
Status Text: âUnlocked by âCleaner Codeâ at 10:00 AM.â
Leak Detection System
State:Dry / Leak Detected
Banner: âWATER LEAK DETECTEDâ (Red/Stripe)
Subtitle: âLocation: Basementâ
Status Text: âMain water valve has been shut off automatically.â
Environment & Health
Air Quality (CO2/PM2.5)
State:Good / Moderate / Unhealthy
Banner: âAIR QUALITY POORâ (Purple)
Subtitle: âCO2: 1200ppmâ
Status Text: âVentilation required. Open a window or boost HVAC fan.â
Plant Care (Aggregated)
State:Thriving / Thirsty / Fertilize
Banner: âWATER PLANTSâ (Blue)
Subtitle: â3 Plants Criticalâ
Status Text: âPeace Lily and Monstera moisture levels below 15%.â
Pollen/Allergy Forecast
State:Low / High / Extreme
Banner: âHIGH POLLEN ALERTâ (Orange)
Subtitle: âTree Pollen: Highâ
Status Text: âKeep windows closed today. Air purifier set to High.â
Energy & Network
Grid Power Status (Solar)
State:Importing / Exporting / Peak Rate
Banner: âFREE ENERGYâ (Green) vs âPEAK RATEâ (Red)
Subtitle: âSolar Export: 3.2kWâ
Status Text: âGreat time to run the dishwasher or charge the car.â
Home Battery Backup
State:Charging / Discharging / Grid Outage
Banner: âRUNNING ON BATTERYâ (Orange/Stripe)
Subtitle: âGrid Power Lostâ
Status Text: âEst. runtime: 4 hours. Heavy loads (AC) disabled.â
Network/Server Health
State:Online / Offline / Degraded
Banner: âINTERNET DOWNâ (Red)
Subtitle: âWAN IP Unreachableâ
Status Text: "UDM Pro has been offline for 5 minutes. Attempting reboot.
3D Printer Status
State:Printing / Finished / Error
Banner: âPRINT COMPLETEâ (Green)
Subtitle: âFile: Bracket_v2.gcodeâ
Status Text: âBed cooled to 30°C. Safe to remove object.â
Family & Lifestyle
Commute Traffic
State:Clear / Moderate / Heavy
Banner: âHEAVY TRAFFICâ (Red)
Subtitle: â+25 mins delayâ
Status Text: âAccident on I-95. Suggest taking alternate route via Highway 1.â
Mail/Package Delivery
State:Empty / Mail Arrived / Package Retrieved
Banner: âYOUâVE GOT MAILâ (Yellow)
Subtitle: âVibration detectedâ
Status Text: âMailbox opened at 14:05. Not yet retrieved.â
Family Presence / House Mode
State:Home / Away / Vacation / Guest
Banner: âGUEST MODE ACTIVEâ (Purple)
Subtitle: âAutomations Pausedâ
Status Text: âLighting motion sensors disabled. Alarm auto-arm disabled.â
Medication/Vitamin Reminder
State:Taken / Due / Missed
Banner: âTAKE MEDICATIONâ (Red)
Subtitle: âMorning Doseâ
Status Text: âButton last pressed yesterday. Please acknowledge.â
Groceries / Shopping List
State:Empty / Items Pending
Banner: âSHOPPING NEEDEDâ (Blue)
Subtitle: â5 items on listâ
Status Text: âMilk, Eggs, Bread. Tap to view full Todoist list.â