diff --git a/tasmota/tasmota_xdrv_driver/xdrv_02_9_mqtt.ino b/tasmota/tasmota_xdrv_driver/xdrv_02_9_mqtt.ino index 6cde49eb3..298c0719c 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_02_9_mqtt.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_02_9_mqtt.ino @@ -639,7 +639,8 @@ void MqttDataHandler(char* mqtt_topic, uint8_t* mqtt_data, unsigned int data_len if (XdrvCall(FUNC_MQTT_DATA)) { return; } ShowSource(SRC_MQTT); - + TasmotaGlobal.last_source = SRC_MQTT; + CommandHandler(topic, (char*)mqtt_data, data_len); if (Mqtt.disable_logging) {