adjust temp index
This commit is contained in:
parent
81aa0c64f9
commit
ec411bf7bb
2 changed files with 43 additions and 11 deletions
|
@ -347,7 +347,7 @@ void ClimateCard::updateAirConditioner()
|
|||
{
|
||||
// // The IR Transmissions are not working yet so we just return
|
||||
const uint16_t* ir_code_ptr = nullptr;
|
||||
size_t itemCount = (*(this->ac.getInfraredCode))(this->state.ac_mode, this->state.ac_fan_speed, this->state.ac_temperature, &ir_code_ptr);
|
||||
size_t itemCount = (*(this->ac.getInfraredCode))(this->state.ac_mode, this->state.ac_fan_speed, this->state.ac_temperature-this->ac.min_temperature, &ir_code_ptr);
|
||||
|
||||
if (ir_code_ptr == nullptr)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue