diff --git a/src/espmega_iot_core.cpp b/src/espmega_iot_core.cpp index cfece8d..e651816 100644 --- a/src/espmega_iot_core.cpp +++ b/src/espmega_iot_core.cpp @@ -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); break; } - ac_changed_user_callback(mode, temperature, fan_speed); + ac_changed_user_callback(mode, ac_temperature, fan_speed); } void publish_env_state()