This question was asked during the webinar titled “Ask Me Anything About MQTT” held on July 28. 2021 by Daniel.
Answer: Adding a new device is dependent on the application. In your example, a home automation applications would need to be controlling the lights using MQTT. The home automation applicaiton will have a way to add a new device.