Update espmega_iot_core.cpp
This commit is contained in:
parent
7ebc091691
commit
b5a7384d0f
|
@ -730,7 +730,7 @@ void ac_set_state(int mode, int temperature, int fan_speed)
|
||||||
IrSender.sendRaw(ir_code_fan[fan_speed], sizeof(ir_code_fan[fan_speed]) / sizeof(ir_code_fan[fan_speed][0]), NEC_KHZ);
|
IrSender.sendRaw(ir_code_fan[fan_speed], sizeof(ir_code_fan[fan_speed]) / sizeof(ir_code_fan[fan_speed][0]), NEC_KHZ);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
ac_changed_user_callback(mode, temperature, fan_speed);
|
ac_changed_user_callback(mode, ac_temperature, fan_speed);
|
||||||
}
|
}
|
||||||
|
|
||||||
void publish_env_state()
|
void publish_env_state()
|
||||||
|
|
Loading…
Reference in New Issue