node-red-contrib-blindcontroller
node-red-contrib-blindcontroller copied to clipboard
logicalBlindPosition wrong when opposite=true
When 0 is closed is selected and opposite=true, the logical blind position still shows as if opposite=false.
Example: payload.blindPosition = 80 payload.logicalBlindPosition = 20
The node itself displays 20% when it really should be 80%.
Not sure why this happens, I see in the code blinds[i].logicalBlindPosition = blinds[i].blindPosition; So to me they should show the same %