mirror of https://github.com/arendst/Tasmota.git
Merge pull request #11121 from jaymemaurice/development
Change TuyaMCU dimmer timeout
This commit is contained in:
commit
1a3bfb2422
|
@ -622,6 +622,10 @@ void LightSerialDuty(uint16_t duty, char *hex_char, uint8_t TuyaIdx)
|
|||
dpid = TuyaGetDpId(TUYA_MCU_FUNC_CT);
|
||||
} else { dpid = TuyaGetDpId(TUYA_MCU_FUNC_DIMMER2); }
|
||||
}
|
||||
|
||||
if (Tuya.ignore_dim && Tuya.ignore_dimmer_cmd_timeout < millis()) {
|
||||
Tuya.ignore_dim = false;
|
||||
}
|
||||
|
||||
if (duty > 0 && !Tuya.ignore_dim && TuyaSerial && dpid > 0) {
|
||||
if (TuyaIdx == 2 && CTLight) {
|
||||
|
|
Loading…
Reference in New Issue