Using variables as predicate condition in 2.2.9.139

So when reviewing the changes for rule machine 5.1 with update 2.2.9 it is states we should now be able to use variable states as part of predicate conditions once again. And I am again able to select variable as an option. However I'm still having the same issue as previously.

The room variable is changing correct by a similar leave room rule, correctly changing the variable to livingoom. The predicate is true when not bedroom, and it shows as such, but the status of the predicate condition remains false. And so it will not fire next time. Thus it seems I have to go back to using the connector.

Did I misunderstand the changes?

May be connected with this? Predicate Hub Variables Broken?

I will take a look at this... Don't know.

I take it back. There is a problem. The subscriptions to the variables used in the Predicate are sometimes missing. That would explain this. Fix will be forthcoming.

1 Like

Bug found, and fixed. Will be in next release.

5 Likes