Rules beginner question

Looks like your problem is newValue. This is not a recognized variable unless you have defined it somewhere else in your rule file. I suspect what you were looking for is the implicit variable newState

Also, for future posts, please try to use code fences as it makes the posts much easier to read and troubleshoot.

2 Likes