I’m setting up a smart home. MQTT is used to interact with the application. But to initialize a new MQTT device, my controller requires that any event be sent with the “retained = true” flag (For example, a test event to check the connection in the Sleep As Android settings).
Smart home hub: SprutHub