I had a RM rule as follows:
Trigger: Switch1 changed
Actions: If Switch1 on then do this.
If Switch1 off then do that.
I had to change the trigger to a different switch. When I went to edit the actions I couldn't edit the If part. I had to delete them and reenter with the new switch. Wasn't too big a deal as it was minor.
2 Questions. Why couldn't I change the IF? Is there some way to use the %value% (Which I understand is the trigger value) in an IF statement?
When I have an IF statement I want to edit I add an AND plus the new condition and then delete the AND and the old condition. It's a bit of a pain but it works.
And yes you should be able to use %value% in a conditional
OK. I couldn't figure out how to use it directly but you can store %value% in a variable and then use the variable in a conditional... I guess the reason is why not just use the current value of the event that triggered the rule? Unless you expect it to change while the rule is processing...
You can directly edit an IF statement and that allows you to add/remove conditions.
If you want to edit the conditions of the IF statement, then you use the "manage conditions" box below the actions table. This would have allowed you to just change the switch out without modifying any other part of the rule.
The Manage Conditions would work. I didn't see that I guess.
Still the whole point was If I change the trigger switch I have to change the actions. If I could just use the value of the trigger, either on or off in this case, then I wouldn't have to change the actions.
Again, no big deal, but kinda wondered if it was possible.