You could use a conditional statement in a change node using JSONata or similar in a function node.
e.g.
[{"id":"711aea43.2409bc","type":"inject","z":"57675e72.26a0d8","name":"0","props":[{"p":"payload.openPercent","v":"0","vt":"num"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":120,"y":920,"wires":[["fdc0d58.4081c28"]]},{"id":"fdc0d58.4081c28","type":"change","z":"57675e72.26a0d8","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.openPercent > 0 ? true : false","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":350,"y":900,"wires":[["b84dcbfc.816ad"]]},{"id":"e92401aa.c1c7e","type":"inject","z":"57675e72.26a0d8","name":"100","props":[{"p":"payload.openPercent","v":"100","vt":"num"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":140,"y":860,"wires":[["fdc0d58.4081c28"]]},{"id":"b84dcbfc.816ad","type":"debug","z":"57675e72.26a0d8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":580,"y":900,"wires":[]}]