Setting up a rule where I want a virtual switch to be on in order for the rule to fire.
When I toggle the switch to on the APPS page still shows (after a refresh) "Required Expression False". If I go into the rule it shows the expression to be true. If I then click "Done" while looking at the rule and then go back to the APPS page the "Required Expression False" is finally gone. I have a pair of rules doing this both restricted by the same Virtual Switch.
Here we have one of the rules after I went into it and clicked "Done" and the other before doing so.
Here is the other rule when I go into it. Notice that it shows "Required Expression False" at the top of the page but shows TRUE in the actual rule body:
Nope same thing but as I was walking my dog thinking about this I don't need the Required at all as I am already pausing and unpausing the rule in the Party Mode rule. But it does appear to be a bug that someone should look at. I'm just going to remove the constraint.
Hard to say without the logs for the rule. The logs show the Required Expression changing if Event logging is enabled. When the Required Expression evaluation is triggered by the device changing state, it should update the label of the rule -- if the Required Expression state itself changed state.
I'll put the requirement back on and recreate the log. At this point I can't give you a clean log since I've done other things since and I can't swear as to what is what. Will get to it after a bit.
Well something was wrong. I redid it and it is now okay maybe deleting and recreating did something I did have 2 parts to the Required Expression and had deleted 1/2 of it maybe it was a ghost in there somehow. Dunno. Odd but working now.