Adorkable / node-red-contrib-ui-led

A simple LED status indicator for the Node-RED Dashboard
MIT License
16 stars 12 forks source link

led is grey if msg.socketid is set #88

Open kapet opened 2 years ago

kapet commented 2 years ago

Describe the bug If led node is given any data while msg.socketid is also set, then it is rendered as a grey led.

To Reproduce Set up an led that reacts to boolean. Add two injects, one with e.g. boolean true, one with boolean false. In one of the inject nodes set msg.socketid to some value, e.g. string 12345. Deploy, and test both injects. The one that sets msg.socketid will cause a grey led.

Expected behavior Naive assumption: led is not grey :-) But actually I'm not sure, maybe this is WAI and just needs better documentation?

Screenshots (n/a, trivial to replicate)

Versions

Platform

Additional context I ran into the same problem with the ui_control node in dashboard itself, filed node-red/node-red-dashboard#731