I'm surprised that %Mode% isn't a built-in global variable.
How do I get Mode into a variable so I can use it in alerts?
I'm surprised that %Mode% isn't a built-in global variable.
How do I get Mode into a variable so I can use it in alerts?
Using an automation?
Create a hub variable called "Whatever". And the populate that variable every time the Mode changes. In RM, it would be something like:
Trigger:
Mode becomes *changed*
Action:
Set Whatever to %value%
Got it! I attempting to use a string operation to set the variable. Thanks!
I think it's easier to get current Mode using Hub Info v3 driver (by @thebearmay )

In rule machine, you could do this