mirror of https://github.com/arendst/Tasmota.git
Quick fix for Coolix_AC decoding #7660
This commit is contained in:
parent
97f4924639
commit
e26a9fc074
|
@ -2232,6 +2232,7 @@ namespace IRAcUtils {
|
||||||
#if DECODE_COOLIX
|
#if DECODE_COOLIX
|
||||||
case decode_type_t::COOLIX: {
|
case decode_type_t::COOLIX: {
|
||||||
IRCoolixAC ac(kGpioUnused);
|
IRCoolixAC ac(kGpioUnused);
|
||||||
|
ac.on();
|
||||||
ac.setRaw(decode->value); // Uses value instead of state.
|
ac.setRaw(decode->value); // Uses value instead of state.
|
||||||
*result = ac.toCommon(prev);
|
*result = ac.toCommon(prev);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue