From b5a7384d0fdd898e701917d23c39366fdd571559 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Mon, 2 Oct 2023 23:20:06 +0700 Subject: [PATCH] Update espmega_iot_core.cpp --- src/espmega_iot_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()