The changes I'm proposing will allow this module to be used in a streamlined fashion where we don't need one object per bulb, which will allow us to override the configured MAC value with a MAC specified in msg.topic, and the same with the bulb type if msg.bulbtype is specified. The rest are standardization, stylistic, and documentation changes.
Use msg.topic to override the specified MAC in the control if it is present in the msg object.
Use msg.bubltype to override the specified bulb type in the control if it is present in the msg object.
Update the control to use "Topic" and the topic icon from the core Node-RED controls in the configuration page.
The changes I'm proposing will allow this module to be used in a streamlined fashion where we don't need one object per bulb, which will allow us to override the configured MAC value with a MAC specified in msg.topic, and the same with the bulb type if msg.bulbtype is specified. The rest are standardization, stylistic, and documentation changes.
The screen caps haven't been updated.