WJDDesigns / Ultra-Vehicle-Card

This custom card allows you to display vehicle information in your Home Assistant dashboard, including the vehicle name, image, and fuel or charge level.
Other
178 stars 18 forks source link

Feature Request: Color controls #41

Closed plaetzchen closed 1 month ago

plaetzchen commented 2 months ago

Thank you for releasing this car, it's great!

It would be cool if I could set custom bar colors for different values, similar to gauges. Like when the SoC is less than 20% it's red, orange when it's below 50% and otherwise blue or something. Right now it's always orange for me when not loading and that seems wrong.

WJDDesigns commented 2 months ago

I am hoping to add CSS in to the input area for the colors so you can use https://cssgradient.io/ and drop in your code and it should follow the same principle.

WJDDesigns commented 1 month ago
Screenshot 2024-09-17 at 8 04 11 AM Screenshot 2024-09-17 at 8 04 21 AM

Go ahead and update to 1.6.1 :)