mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 02:36:35 +00:00
Update IRac.cpp (#23438)
Fix the Coolix fan-only mode in IRac class.
(9785cb910d
)
This commit is contained in:
parent
17210d1aca
commit
3327f4a5ca
@ -402,8 +402,10 @@ void IRac::airton(IRAirtonAc *ac,
|
||||
const int16_t sleep) {
|
||||
ac->begin();
|
||||
ac->setPower(on);
|
||||
ac->setMode(ac->convertMode(mode));
|
||||
ac->setTemp(degrees);
|
||||
// Mode needs to be set after temp as Fan-only uses a special temp.
|
||||
ac->setMode(ac->convertMode(mode));
|
||||
// Fan needs to be set after mode, as setMode can change the fan speed.
|
||||
ac->setFan(ac->convertFan(fan));
|
||||
ac->setSwingV(swingv != stdAc::swingv_t::kOff);
|
||||
// No Quiet setting available.
|
||||
|
Loading…
x
Reference in New Issue
Block a user