Event Trigger custom attribute "not contains"

Hello,
I was wondering if anyone knows a way to do this.. I have a weather device..which gets the weather.. the device has custom text values like rain, cloudy, sunny etc
I have actuators installed on a couple of windows..
Now.. I have a rule setup that when the weather calls for rain.. it activates trigger in the rule which checks for event trigger that "contains" either rain or thunderstorms.. and closes the windows...

And it works great..
But what I have realized is that those windows remain closed until I reopen them manually..
What I want to do is.. when the weather device's custom attribute comparison does "NOT contain" rain or thunderstorms.. then open the window...
Since the comparison doesn't have an option for "not contains" (it only has = , != , Contains , is empty , and changed) ... I don't see a way to do what I want to achieve easily..

Any thoughts /ideas would be appreciated.
Thanks

Does your trigger allow a value of "*changed*"? If it does, you can use "changed", and then test for conditions that the attribute doesn't match either rain or thunderstorms.

Actually, after I wrote this.. I realized that in the new RM 5.0, there are predicate conditions also..
so on the same line of thought as yours.. I used the "changed" trigger and then used a predicate condition of no rain and no thunderstorm.. .. which makes the rule not trigger due to predicated values.

1 Like

Right before you posted, I thought this would be a good application for predicate conditions.