Add preset persistence and startup default.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-08 18:48:44 +13:00
parent 7cc0a3b7d7
commit 3080548f47
5 changed files with 141 additions and 4 deletions

View File

@@ -19,6 +19,7 @@ class Settings(dict):
self["name"] = f"led-{ubinascii.hexlify(network.WLAN(network.AP_IF).config('mac')).decode()}"
self["debug"] = False
self["startup_preset"] = None
def save(self):
try: