WS2812 troubleshooting
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user