I can do this with a few rules and virtual switches, but there's gotta be something simple in my rule that's wrong. Anyone with a suggestion?
So if this variable "SystemStatus" is anything but "Grid Status Pending" or "OnGrid" I'd like it to turn on Backup Mode... Works like a charm when "OnGrid" (i.e. nothing happens), but When "Grid Status Pending" (per logs) the Action runs and Backup Mode flips to On... Not what I want. Other stuff happens when it goes back to "OnGrid" lower in the rule, so changed is the trigger to keep it all in one rule if possible.
I don't have the full list of values, the API is... imcomplete. I believe I started with AND and talked myself out of it because then it would have to be BOTH and my head exploded... Will adjust and flex my logic muscle! Cheers.
Don't you have to buy me a drink before you talk to me like that??
Thank you. The expanded helps. The "And"=* is a new way to think about the 'word' for me, but in a binary world I get it... I'll use that again when smoke escapes the ears next.
I was hung up on the 'when it happened'. i.e. the rule would fire on change of the variable from OnGrid to Pending and I assumed that had something to do with it rejecting the first IF for some reason. Now I get it... its the fact that the rule fired at all... it did done did do what it was programmed to do ... and left me a steamer on the carpet....
... I oughta just stay in my lane and color inside the lines.... Cheers.
On second thought... so does this mean I could have skipped the ! in the two equals expressions and used OR even though I want to fire if the variable isn't one of those?... Oh, here we go again, I need a whisky... suffice it to say,.. I had it, but there's a hole in my net... where are the crayons.....