Hey all,
I’m looking for documentation related to creating persistent global variables that can be manipulated and used in automations.
For example, suppose I decide I need to be productive this evening. I might push a button “enter productivity mode” which sets a boolean variable. Then, my home automations behave differently: The lights in my work room don’t dim when there is no motion in the room ; The lights in the living room don’t go into the cool dim/colorful “movie mode” I have setup when my media center begins playing, etc. Perhaps some automations are just disabled, while others are enabled, and others still behave differently.
Any advice appreciated.