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:
1 parent
e5e424a7a6
commit
f8360c31f6
9 files changed
+39
-10
No files matched your search
@@ -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)))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user