Since updating to the 2.2.7 series, I have a simple rule that is broken.
I use a virtual shade to manage all shades in a room. When the virtual shade's position changes the rule triggers and then sets the position of all the real shades.
The virtual shade position value can be 0-100. 0 = closed, 100 = open. These values are from the Hubitat virtual driver and they worked in this rule until version 2.2.7.*
After the upgrade, when the position value is 100 rule machine does not evaluate the virtual device attribute correctly.
The rule triggers due to the device attribute change, and the Rule Machine UI indicates the attribute value is 100, but it will not set variables with the value, and conditional tests do not evaluate correctly when the attribute value is 100.
If position value is < 100 all is well, local variables are updated and shades move to the desired position.
The attached image shows the rule machine state after I have:
- Reset the test by setting the virtual shades position to 99.
- Changed the position to 98.
- Set the position to 100.