Is there a way to get the mode as a variable in Rule Manager? aka, I want to send a notification with the current mode in it. I've tried %mode% and %Mode% as a test and they don't work.
Alan
Is there a way to get the mode as a variable in Rule Manager? aka, I want to send a notification with the current mode in it. I've tried %mode% and %Mode% as a test and they don't work.
Alan
As much as I dislike non-answers, here's a suggestion:
Create a global variable and set it whenever mode changes.
No, it isn't a direct answer to your question but you may give you the functionality.
It doesn't have to be a global variable. A local variable works if you only need the mode in the rule that's sending the notification. Here's an example of one of my rules. Note %value% is whatever triggered the rule.
Thanks all. Turns out I had a variable already set. So I've switched to it.
Alan