LEDs and backlight split up as well

This commit is contained in:
2026-04-10 23:50:06 +02:00
parent b45e221aed
commit 916ddaf423
2 changed files with 228 additions and 174 deletions

View File

@@ -17,7 +17,11 @@
"max": 7300,
"step_us": 200,
"entity_name": "Power 1",
"unit": "W"
"unit": "W",
"leds": {
"red_pin": 33,
"green_pin": 32
}
},
{
"name": "Gauge 2",
@@ -27,14 +31,17 @@
"max": 100,
"step_us": 200,
"entity_name": "Temperature",
"unit": "C"
"unit": "C",
"leds": {
"red_pin": 21,
"green_pin": 20
}
}
],
"leds": {
"red_pin": 33,
"green_pin": 32,
"backlight_pin": 23
"backlight": {
"pin": 23,
"num_leds_per_gauge": 3
},
"device": {