WS2812 troubleshooting

This commit is contained in:
2026-04-12 20:45:44 +02:00
parent 7a5df131bd
commit 4b096de052

View File

@@ -222,6 +222,7 @@ T_DISC_GREEN = f"homeassistant/switch/{MQTT_CLIENT_ID}_green/config"
T_DISC_BL = f"homeassistant/light/{MQTT_CLIENT_ID}_bl/config"
def make_gauge_topics(prefix, gauge_id):
return {
"set": f"{prefix}/gauge{gauge_id}/set",
@@ -247,6 +248,8 @@ def make_gauge_topics(prefix, gauge_id):
}
print("DEBUG: after duplicate function, about to define _DEVICE")
_DEVICE = {
"identifiers": [MQTT_CLIENT_ID],
"name": DEVICE_NAME,