thinger-io / node-red-contrib-thinger

Thinger.io Library for Node Red
MIT License
7 stars 1 forks source link

Can't write value 0 to property when using input msg.payload #46

Closed bautisflow closed 10 months ago

bautisflow commented 10 months ago

Checkout the line: https://github.com/thinger-io/node-red-contrib-thinger/blob/f2a404324b4b01f4a43c114b27aa082d47a621b0/nodes/property-write.js#L19

msg.payload is evaluated as false when the input value (through msg) is 0, expecting value then through the msg.value property.