EntityAction(PushVariant("VariantName"))
To push a variant onto the entity config stack.
Similar to SwitchVariant, but allows for popping back
to the previous config with PopVariant.
EntityAction(PopVariant)
Pops back to the previously pushed variant config.
Applies the root config when popped off the final config in the stack.
Extend
EntityAction
with:EntityAction(PushVariant("VariantName"))
To push a variant onto the entity config stack.
Similar to
SwitchVariant
, but allows for popping backto the previous config with
PopVariant
.EntityAction(PopVariant)
Pops back to the previously pushed variant config.
Applies the root config when popped off the final config in the stack.