mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 13:46:37 +00:00
Fix Tuya invalid rule trigger
This commit is contained in:
parent
7ad9a103be
commit
4d6e015771
@ -1211,7 +1211,7 @@ void TuyaSerialInput(void)
|
|||||||
snprintf_P(scommand, sizeof(scommand), PSTR("DpType%uId%u"), dpDataType, dpId);
|
snprintf_P(scommand, sizeof(scommand), PSTR("DpType%uId%u"), dpDataType, dpId);
|
||||||
if (dpDataType != 3 && dpDataType != 5) { Response_P(PSTR("%u"), DataVal); }
|
if (dpDataType != 3 && dpDataType != 5) { Response_P(PSTR("%u"), DataVal); }
|
||||||
else { Response_P(PSTR("%s"), DataStr); }
|
else { Response_P(PSTR("%s"), DataStr); }
|
||||||
MqttPublishPrefixTopicRulesProcess_P(STAT, scommand);
|
MqttPublishPrefixTopic_P(STAT, scommand);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user