Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106742

Gauge card change text color

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 106742

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>