MQTT is not reporting the correct LastChange (#21605)

I assume this is just missing. I got some side effects on shutters where on MQTT commands the source is still the LAST one before the MQTT
This commit is contained in:
stefanbode 2024-06-10 10:42:02 +02:00 committed by GitHub
parent a53e057d54
commit ae499eb73a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -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) {