fix(scenes): restore cinema seat controls and ordered romantic lighting

This commit is contained in:
Miayui
2026-09-22 13:01:46 +08:00
parent 4d99702acd
commit 6b9ee0f349
24 changed files with 908 additions and 83 deletions
+8 -5
View File
@@ -520,20 +520,23 @@ def test_romantic_and_mid_autumn_require_decorative_light_actions(
context["scene_semantics"] = semantics
schema = build_scene_output_schema(context)
assert required == [
romantic_refs = [
"ir:flash-open", "ir:flash-red", "ir:strip-open", "ir:strip-red", "ir:ambient-open",
]
assert required == (romantic_refs if "浪漫" in mode_name else [
"ir:flash-open",
"ir:strip-open",
]
])
assert scene_required_peripheral_refs(
mode_name,
context,
include_default_bundle=True,
) == [
) == (romantic_refs if "浪漫" in mode_name else [
"ir:flash-open",
"ir:ambient-open",
"ir:strip-open",
]
assert schema["properties"]["requests"]["maxItems"] == 18
])
assert schema["properties"]["requests"]["maxItems"] == 20 - len(required)
if "中秋" in mode_name:
assert semantics["family"] == "festival_celebration"