Fix color ranges for gauge cards

This commit is contained in:
2025-11-10 22:38:14 -05:00
parent bdb82c87fa
commit cb8ffaed51

View File

@@ -4193,15 +4193,16 @@ views:
state: 'on'
- type: custom:battery-state-card
icon: mdi:harddisk
color_thresholds:
- value: 26
color: blue
- value: 50
color: green
- value: 60
color: yellow
- value: 70
color: red
colors:
steps:
- value: 26
color: blue
- value: 50
color: green
- value: 60
color: yellow
- value: 70
color: red
tap_action:
action: more-info
sort_by_level: desc
@@ -4961,15 +4962,16 @@ views:
state: 'on'
- type: custom:battery-state-card
icon: mdi:harddisk
color_thresholds:
- value: 26
color: blue
- value: 50
color: green
- value: 60
color: yellow
- value: 70
color: red
colors:
steps:
- value: 26
color: blue
- value: 50
color: green
- value: 60
color: yellow
- value: 70
color: red
tap_action:
action: more-info
sort_by_level: desc
@@ -5292,15 +5294,16 @@ views:
state: 'on'
- type: custom:battery-state-card
icon: mdi:harddisk
color_thresholds:
- value: 26
color: blue
- value: 50
color: green
- value: 60
color: yellow
- value: 70
color: red
colors:
steps:
- value: 26
color: blue
- value: 50
color: green
- value: 60
color: yellow
- value: 70
color: red
tap_action:
action: more-info
sort_by_level: desc
@@ -5584,15 +5587,16 @@ views:
heading_style: subtitle
- type: custom:battery-state-card
icon: mdi:harddisk
color_thresholds:
- value: 26
color: blue
- value: 50
color: green
- value: 60
color: yellow
- value: 70
color: red
colors:
steps:
- value: 26
color: blue
- value: 50
color: green
- value: 60
color: yellow
- value: 70
color: red
tap_action:
action: more-info
sort_by_level: desc