Iād like to introduce my first Home Assistant project, the Ultra Vehicle Card! This is a custom card designed to display information about both Electric Vehicles (EVs) and Fuel Vehicles in a clean and modern way. I couldnāt find a card that allowed me to quickly have a vehicle view that was clean and modern while using a simple interface to edit, so I made one !
The card offers the following features:
Support for both EVs and Fuel Vehicles and now Hybrids!
Configurable title and image
Display charging status for EVs (requires a compatible integration)
Display remaining range or fuel level
Modern and clean design
Iām really happy with how this card turned out and I hope you find it useful as well. Iām always open to feedback and suggestions, so please let me know what you think!
I look forward to hearing your thoughts!
Future Idea:
Showing icons for entities that are open/closed or on/off as icons that light up in a grid view.
Hi, I am working on a similar project, but specifically for mercedes cars with mercedes integration. I will be releasing a new version with translations into other languagesā¦ Check out my github for inspiration
Very nice! My config is GUI though which will be the best part and of course not as extensive as yours since I am dealing with multiple models/brands. I wanted a simple way to display where people didnāt need to use code. Your implementation looks awesome congrats!
Yeah, the exception for me is that all entities are from one component/device. So you only need one single sensor and the others are automatically generated into a pre-selected card. Or the user can customize his own lovelace card for each sub cardā¦ Everything is set via the UI editor.
I worked with the available data I have, surely if someone has another component, it can be easily modified for their needs. The vehicle data is generally similarā¦
What is the structure of vehicle sensor (sensor.licence_plate) from mercedes integration? Perhaps it would be possible to create custom sensor and put state and attributes from outher integrations to mimic one and use the card this way?
Fetch All Entities using the Home Assistant WebSocket API to fetch a list of all registered entities. This provides a comprehensive view of all entities currently available in the Home Assistant setup.
Identify the specific device id from config entity, that single sensorā¦
Once the specific device is identified, filter out the entities associated with the device using its device_id. This narrows down the list to only those entities that belong to the device of interest.
Match Entities Using Filters - Iterate over the predefined filters and match the filtered device entities based on the prefix and suffix patterns.
Store the matched entity IDs along with their original names in a structured object. This object can then be returned or used for further processing, ensuring that all relevant entity IDs are easily accessible.
I will be adding a link function to those icons soon as well as a Open/Close or On/Off state to select unique icons for. Since UI and ease of use is concerned this will take me a second to follow good design. Right now you can add icons using the icon grid and it will light up your primary HA color if open/on state.
Hereās my variations on the card. Iāve implemented my own set of buttons on the bottom through a vertical layout card, the reason being that I wanted some of the tap actions to require a confirmation (like unlocking the doors). There are two versions, one for my āGarageā page, and a smaller one for the main dashboard. The margin and padding gets rendered different on mobile, I donāt know why but Iāve left it alone.
@WJD thanks from my side for this project too. Iāve migrated from my custom picture entity card to yours.
I browsed a little and donāt know if anybody mentioned this already: I am missing an option to display another numeric/state entity, like service interval of the car (20000km or 400 days to go for an instance).
So, in my picture entity card I had it like this:
It would be nice if I could add another entity like Location or Mileage Entity - maybe below or beside them.
Thank you very much, its amazing and the setup workflow is outstanding! Great Work !
Here are some wishes / ideas for features:
AdBlue Level
Buttons to Control Car (Lock/Unlock Car / Start Flashing & Honking)
Inspection Dates (Oil) in Kilometers and Days
Service Dates in Kilometers and Days
Outside Temperature
Refuel Distance
Vehicle Moving check (binary_sensor (on/off))
Maybe you can also create some placeholder Fields where we can just put any entity we want to be displayed
And it would be cool if we can change the Icons and Icons color based on entity status <3
This is great! Its a fantastic way of showing car information. My only request would be mapping the door status to a graphic such as the example below. If the door is opened either change that door to a different color or show it as opened.
One question:
Iād like to change the border-radius of the card so that it better fits the look of my other cards on my dashboard. Card.mod doesnāt seem to workā¦ is there another way to do so?
Edit: mistake at my side. Card mod is just working
Awesome card. I hate to ask a dumb question but how do you gather all the sensor data from the car and put into HA? I have a Honda and donāt know how to communicate with it.
Log into your Tesla account via the desktop website. One of the images there on the dashboard is pretty high resolution and provides transparency. I had to fiddle with it (for me using GIMP) to get the transparency to work correctly after I resized and cropped it.