diff --git a/src/main.py b/src/main.py index 2e2b25e..9cd8568 100644 --- a/src/main.py +++ b/src/main.py @@ -126,6 +126,7 @@ hello = { "v": "1", "device_name": settings.get("name", ""), "mac": ubinascii.hexlify(mac).decode().lower(), + "type": "led", } hello_bytes = json.dumps(hello).encode("utf-8") hello_line = hello_bytes + b"\n"