color bug repaired

This commit is contained in:
2026-08-30 15:08:35 +02:00
parent a5ac054f57
commit 2da3685ad2
+4 -4
View File
@@ -14,15 +14,15 @@
"custom": {"drawStyle": "bars", "barAlignment": 0, "fillOpacity": 80, "lineWidth": 1, "stacking": {"mode": "normal", "group": "lights"}} "custom": {"drawStyle": "bars", "barAlignment": 0, "fillOpacity": 80, "lineWidth": 1, "stacking": {"mode": "normal", "group": "lights"}}
}, },
"overrides": [ "overrides": [
{"matcher": {"id": "byName", "options": "Unavailable"}, "properties": [{"id": "color", "value": {"mode": "fixed", "fixedColor": "dark-red"}}]}, {"matcher": {"id": "byName", "options": "Unavailable"}, "properties": [{"id": "color", "value": {"mode": "fixed", "fixedColor": "#8b0000"}}]},
{"matcher": {"id": "byName", "options": "Off"}, "properties": [{"id": "color", "value": {"mode": "fixed", "fixedColor": "dark-gray"}}]}, {"matcher": {"id": "byName", "options": "Off"}, "properties": [{"id": "color", "value": {"mode": "fixed", "fixedColor": "#4b5563"}}]},
{"matcher": {"id": "byName", "options": "On"}, "properties": [{"id": "color", "value": {"mode": "fixed", "fixedColor": "yellow"}}]}, {"matcher": {"id": "byName", "options": "On"}, "properties": [{"id": "color", "value": {"mode": "fixed", "fixedColor": "#facc15"}}]},
{"matcher": {"id": "byName", "options": "Intensity"}, "properties": [ {"matcher": {"id": "byName", "options": "Intensity"}, "properties": [
{"id": "unit", "value": "percent"}, {"id": "max", "value": 100}, {"id": "unit", "value": "percent"}, {"id": "max", "value": 100},
{"id": "custom.axisPlacement", "value": "right"}, {"id": "custom.drawStyle", "value": "line"}, {"id": "custom.axisPlacement", "value": "right"}, {"id": "custom.drawStyle", "value": "line"},
{"id": "custom.fillOpacity", "value": 0}, {"id": "custom.lineWidth", "value": 3}, {"id": "custom.fillOpacity", "value": 0}, {"id": "custom.lineWidth", "value": 3},
{"id": "custom.stacking", "value": {"mode": "none", "group": "intensity"}}, {"id": "custom.stacking", "value": {"mode": "none", "group": "intensity"}},
{"id": "color", "value": {"mode": "fixed", "fixedColor": "green"}} {"id": "color", "value": {"mode": "fixed", "fixedColor": "#22c55e"}}
]} ]}
] ]
}, },