Fix nested fixture transition draining
This commit is contained in:
@@ -209,6 +209,31 @@ wait_for_home_status '
|
||||
(.entities[] | select(.id == "light.fixture_hall") | .active == true)
|
||||
' 'switching process fixtures stranded or misattributed the new action'
|
||||
|
||||
qs_for_test ipc call home-assistant fixture process-delayed-exit >/dev/null
|
||||
qs_for_test ipc call home-assistant brightness light.fixture_living 88 >/dev/null
|
||||
wait_for_home_status '
|
||||
.busyEntityIds == ["light.fixture_living"] and
|
||||
.pendingBrightness["light.fixture_living"] == 88 and
|
||||
.actionProcessRunning == false and
|
||||
.actionStreamFinished == true
|
||||
' 'nested fixture transition setup did not reach its delayed-exit window'
|
||||
qs_for_test ipc call home-assistant fixture process-no-output >/dev/null
|
||||
qs_for_test ipc call home-assistant fixture process-slow-actions >/dev/null
|
||||
qs_for_test ipc call home-assistant brightness light.fixture_desk 57 >/dev/null
|
||||
wait_for_home_status '
|
||||
.phase == "ready" and
|
||||
.busy == false and
|
||||
.busyEntityIds == [] and
|
||||
.pendingBrightness == {} and
|
||||
.entityErrors == {} and
|
||||
(.entities[] |
|
||||
select(.id == "light.fixture_living") |
|
||||
.active == false and .brightnessPct == 36) and
|
||||
(.entities[] |
|
||||
select(.id == "light.fixture_desk") |
|
||||
.active == true and .brightnessPct == 57)
|
||||
' 'nested fixture transitions released the drain or corrupted the latest action'
|
||||
|
||||
qs_for_test ipc call home-assistant fixture missing-selected >/dev/null
|
||||
jq -e '
|
||||
.fixture == true and
|
||||
|
||||
Reference in New Issue
Block a user