Change tuya receive from stat to tele (#6758)

This commit is contained in:
Theo Arends 2019-10-27 13:55:04 +01:00
parent aae7c6053c
commit 1a148311e1

View File

@ -681,7 +681,7 @@ void TuyaSerialInput(void)
ResponseAppend_P(PSTR("}}"));
if (Settings.flag3.tuya_serial_mqtt_publish) {
MqttPublishPrefixTopic_P(RESULT_OR_STAT, PSTR(D_JSON_TUYA_MCU_RECEIVED));
MqttPublishPrefixTopic_P(RESULT_OR_TELE, PSTR(D_JSON_TUYA_MCU_RECEIVED));
} else {
AddLog_P(LOG_LEVEL_DEBUG, mqtt_data);
}