if (msg.payload[i].Active== 0) this will test fine and everything is working as it should be.
However the editor in the function node gives me a warning Use '===' to compare with '0'.
So if I change that to
if (msg.payload[i].Active=== 0) the editor warning is gone, but my function it not working anymore, this will always be tested falls no matter what the value is.
What do I miss or not understand?