You could skip the change node if you’re never going to overwrite msg.payload
.
msg.number1
and msg.number2
will contain the value of each slider.
[{"id":"d98cdf7a.e8ff2","type":"server-state-changed","z":"dd188fa8.9006c","name":"","server":"2dad33ee.42bf5c","entityidfilter":"input_number.number1","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"x":248,"y":1008,"wires":[["efe65eb3.055bf"]]},{"id":"5491868e.407b28","type":"api-current-state","z":"dd188fa8.9006c","name":"","server":"2dad33ee.42bf5c","outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_number.number2","state_type":"str","state_location":"number2","override_payload":"msg","entity_location":"","override_data":"none","x":774,"y":1008,"wires":[["8366b53f.909688"]]},{"id":"efe65eb3.055bf","type":"change","z":"dd188fa8.9006c","name":"","rules":[{"t":"set","p":"number1","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":506,"y":1008,"wires":[["5491868e.407b28"]]},{"id":"8366b53f.909688","type":"debug","z":"dd188fa8.9006c","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":994,"y":1008,"wires":[]}]