Skip to content

Commit

Permalink
Update haier160 & HaierYRWO2 to use quiet in the common class. (#2115)
Browse files Browse the repository at this point in the history
Quiet mode operation was missing in the function calls of `haierYrwo2()` and `haier160()` thus passing the wrong arguments to the function.
Add the `quiet` parameter in fixes this.

Fixes #2101
  • Loading branch information
crankyoldgit authored Jul 3, 2024
1 parent dc0fd31 commit 702ec8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/IRac.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3279,8 +3279,8 @@ bool IRac::sendAc(const stdAc::state_t desired, const stdAc::state_t *prev) {
{
IRHaierAC160 ac(_pin, _inverted, _modulation);
haier160(&ac, send.power, send.mode, send.celsius, send.degrees,
send.fanspeed, send.swingv, send.turbo, send.filter, send.clean,
send.light, prev_light, send.sleep);
send.fanspeed, send.swingv, send.turbo, send.quiet,
send.filter, send.clean, send.light, prev_light, send.sleep);
break;
}
#endif // SEND_HAIER_AC160
Expand All @@ -3301,7 +3301,7 @@ bool IRac::sendAc(const stdAc::state_t desired, const stdAc::state_t *prev) {
IRHaierACYRW02 ac(_pin, _inverted, _modulation);
haierYrwo2(&ac, send.power, send.mode, send.celsius, send.degrees,
send.fanspeed, send.swingv, send.swingh, send.turbo,
send.filter, send.sleep);
send.quiet, send.filter, send.sleep);
break;
}
#endif // SEND_HAIER_AC_YRW02
Expand Down

0 comments on commit 702ec8b

Please sign in to comment.