fixed fragile code

This commit is contained in:
2026-07-17 10:23:13 +03:00
parent 247de6f02a
commit 2f35e33d6b
3 changed files with 29 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ class RGBState:
def to_command(self) -> str:
return (
f"SET dev={self.device} hidraw={self.hidraw} "
f"SET dev={self.device} "
f"effect={self.effect} bright={self.brightness} "
f"speed={self.speed} dir={self.direction} "
f"r={self.r} g={self.g} b={self.b} zone={self.zone}"