RM hub variable error/bug

I believe Iā€™ve found a bug with rule machine 5 on 2.2.8.156. Iā€™m migrating a rule from RM4 to RM5 to take advantage of the new hub variables (and connectors). I previously had this working with a RM4 global variable.

I am trying to take a value from a temperature device and store it in a hub variable, then put that value in a virtual illuminance sensor. I initially thought that the problem was with decimal vs number variables, but I donā€™t think that is the issue.

Here is my rule:

here are my hub variables:

and here is the error that is thrown:

Ultimately, I actually got this to work by using a local variable in the rule, which may be a better solution for me, but I wanted to bring it to @bravenelā€™s attention.

thanks

Thanks. I'll look into it.

This one has been fixed, fix in next release.

1 Like