mirror of https://github.com/arendst/Tasmota.git
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:
parent
a53e057d54
commit
ae499eb73a
|
@ -639,7 +639,8 @@ void MqttDataHandler(char* mqtt_topic, uint8_t* mqtt_data, unsigned int data_len
|
||||||
if (XdrvCall(FUNC_MQTT_DATA)) { return; }
|
if (XdrvCall(FUNC_MQTT_DATA)) { return; }
|
||||||
|
|
||||||
ShowSource(SRC_MQTT);
|
ShowSource(SRC_MQTT);
|
||||||
|
TasmotaGlobal.last_source = SRC_MQTT;
|
||||||
|
|
||||||
CommandHandler(topic, (char*)mqtt_data, data_len);
|
CommandHandler(topic, (char*)mqtt_data, data_len);
|
||||||
|
|
||||||
if (Mqtt.disable_logging) {
|
if (Mqtt.disable_logging) {
|
||||||
|
|
Loading…
Reference in New Issue