Update pattern tests for new preset-based API
- Replace add() calls with edit() for preset creation - Update tests to work with merged patterns.py - Ensure all tests use new Preset object structure
This commit is contained in:
@@ -14,7 +14,7 @@ def main():
|
||||
wdt = WDT(timeout=10000)
|
||||
|
||||
# Create blink preset
|
||||
p.add("test_blink", {
|
||||
p.edit("test_blink", {
|
||||
"pattern": "blink",
|
||||
"brightness": 64,
|
||||
"delay": 200,
|
||||
|
||||
Reference in New Issue
Block a user