I fixed that.
So here’s how it all works:
State Based
- Variables at the root level spill into variables at the entity level.
- Variables at the entity level are shared with all template options, including attributes and template actions.
- Variables at the root level are resolved on configuration load.
- Variables at the entity level are resolved on configuration load.
- Variables do not update any state template option.
Trigger Based
- Variables at the root level spill into variables at the entity level.
- Variables at the entity level are shared with all template options, including attributes and template actions.
- Variables at the root level are resolved between triggers at the root level and actions at the root level
- Variables at the entity level are resolved after conditions at the root level and all template options on the entity level