Schalter „Alle Kategorien“: automatischer Wechsel durch alle Effekte

Neues Feld allCategories in /api/state (nach dem Einschalten false),
in der App ein zweiter Schalter unter „Automatisch wechseln“.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mikeandClaude Opus 5.5 committed 2026-11-16 15:28:42 +01:00
1 parent e5e424a7a6
commit f8360c31f6
9 files changed
+39 -10

No files matched your search

+4
View File
@@ -70,6 +70,10 @@ final class CubeModel {
await update(CubeStatePatch(auto: on))
}
func setAllCategories(_ on: Bool) async {
await update(CubeStatePatch(allCategories: on))
}
func commitBrightness() async {
await update(CubeStatePatch(brightness: Int(brightness)))
}