I dont get error,. But it does not change color. I have installed card mod through HACS
is it installed correctly?
Yeah, that just means it was placed into your files. Did you add the resources line to your ui-lovelace?
I am trying to resize the width of a gauge card but while the card seems to resize the bar itself does not:
entity: sensor.330e_charging_level_hv
measurement: visits
name: Battery Left BMW
severity:
green: 70
red: 0
yellow: 30
type: gauge
unit: '%'
style: |
ha-card {
width: 150px
}
Can someone please let me know if I need to set another value somewhere to resize the whole thing?
card mod is a module, not null
you’ll need to use custom layout card instead of card mod. Width is controlled by the system and always overridden to an extent.
But that is what was mentioned in HACS< So thats why i gave that. Any way i will change that and check
Yep, that should be it. It still may not get you what you want but it’s worth a shot. Controlling the width of cards is not easy with how lovelace works. So this will be an uphill battle for you.