feat: sequences v2, driver frame sync and submodule updates
- Sequences v2, bridges and sim-controller changes from the working tree. - Records the led-driver, led-tool and led-simulator commits above. - Includes dmx-driver/ and graphify-out/. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3f8f67823b
commit
50ca46fee6
657 files changed
+15818
-1107
No files matched your search
@@ -67,6 +67,13 @@ def test_resolve_brightness(c, group):
|
||||
assert resp.json()["values"] == {MAC: 64}
|
||||
|
||||
|
||||
def test_group_max_brightness_caps(c, group):
|
||||
assert c.get(f"/groups/{group}").json()["max_brightness"] == 255
|
||||
assert c.put(f"/groups/{group}", json={"max_brightness": 20}).status_code == 200
|
||||
resp = c.post("/devices/resolve-brightness", json={"macs": [MAC], "zone_brightness": 255})
|
||||
assert resp.json()["values"] == {MAC: 20}
|
||||
|
||||
|
||||
def test_resolve_brightness_needs_list(c):
|
||||
assert c.post("/devices/resolve-brightness", json={"macs": "x"}).status_code == 400
|
||||
|
||||
|
||||
Reference in new issue
Block a user