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);
|
||||
if (dpDataType != 3 && dpDataType != 5) { Response_P(PSTR("%u"), DataVal); }
|
||||
else { Response_P(PSTR("%s"), DataStr); }
|
||||
MqttPublishPrefixTopicRulesProcess_P(STAT, scommand);
|
||||
MqttPublishPrefixTopic_P(STAT, scommand);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user