Quick fix for Coolix_AC decoding #7660

This commit is contained in:
Hadinger 2020-02-03 21:26:46 +01:00
parent 97f4924639
commit e26a9fc074
1 changed files with 1 additions and 0 deletions

View File

@ -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;