hello
How can i change text color of the gauge card without change the whole theme?
I try with card mod but that’s not working.
- type: gauge
card_mod:
style: |
ha-card {
background-color: transparent;
color: white;
}
entity: sensor._range_electric
needle: true
name: Electrisch
min: 0
max: 60
segments:
- from: 0
color: '#FF0000'
- from: 12
color: '#fa6d02'
- from: 25
color: '#faf602'
- from: 38
color: '#cafa5a'
- from: 50
color: '#05ff0d'
- from: 60
color: '#43a047'
Thx
2 posts - 1 participant