node-red-contrib-blindcontroller icon indicating copy to clipboard operation
node-red-contrib-blindcontroller copied to clipboard

logicalBlindPosition wrong when opposite=true

Open MRobi1 opened this issue 3 years ago • 1 comments

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 %

MRobi1 avatar Sep 17 '20 16:09 MRobi1