#Customise statistics by colour
1 messages · Page 1 of 1 (latest)
Is it even possible to colour them? Because I have seen pictures where others have managed it.
style: |
ha-card {
--graph-color-1: yellow;
}
You can also play around with themes.. but tbh I prefer card-mod most of the time as it's easier to fiddle
Card Mod? Do you mean an add-on?
yes, you can get it from HACS
In any case, it worked 😄
I wonder if you can colour it according to certain properties?
you can use templates within card-mod, so to a point, sure
For example, I can now see when I have used solar power and when I have used grid power.
you'd probably need to have 2 data series if you want to do that
What do you mean?
if you want to colour the bars differently for different power sources
No. I mean it is supposed to be a power source, but from the colour I can see when it was supplied with PV power and when with grid power
ok, well good luck
why?
cos i ain't got a clue what you're trying to do