Compare commits
1 Commits
7e3aca491c
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cef9e00819 |
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user