If lights have been switched on before lib_cbus is started, then this latest status is currently not conveyed. With this PR a status request is sent 5 seconds after startup. The response is evaluated and any light status (on or off) is conveyed to MQTT. This ensures that MQTT has the latest status of all lights.
If lights have been switched on before lib_cbus is started, then this latest status is currently not conveyed. With this PR a status request is sent 5 seconds after startup. The response is evaluated and any light status (on or off) is conveyed to MQTT. This ensures that MQTT has the latest status of all lights.