Block Home actions during fixture transitions
This commit is contained in:
1 parent
9a99c6064e
commit
2130d6a1a5
3 files changed
+95
-3
No files matched your search
@@ -168,6 +168,8 @@ Singleton {
|
||||
}
|
||||
|
||||
function enqueueAction(action: var): void {
|
||||
if (root.fixtureTransitionDraining)
|
||||
return;
|
||||
if (!action || (action.kind !== "toggle" && action.kind !== "brightness"))
|
||||
return;
|
||||
if (typeof action.entityId !== "string" || action.entityId === "" || root.isBusy(action.entityId))
|
||||
|
||||
Reference in new issue
Block a user