From babcb8f8958bbda6795a6d16f03126649190cb52 Mon Sep 17 00:00:00 2001 From: GrKoR Date: Sun, 21 Dec 2025 18:25:48 -0800 Subject: [PATCH] fix: Fahrenheit temperature feedback fix --- components/aux_ac/aux_ac.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/aux_ac/aux_ac.h b/components/aux_ac/aux_ac.h index 583d5fd..a660a0a 100644 --- a/components/aux_ac/aux_ac.h +++ b/components/aux_ac/aux_ac.h @@ -1477,7 +1477,8 @@ namespace esphome // в малом пакете передается большое количество установленных пользователем параметров работы // stateFloat = 8 + (small_info_body->target_temp_int_and_v_louver >> 3) + 0.5 * (float)(small_info_body->target_temp_frac >> 7); - stateFloat = 8.0 + (float)(small_info_body->target_temp_int) + ((small_info_body->target_temp_frac_bool) ? 0.5 : 0.0); + // stateFloat = 8.0 + (float)(small_info_body->target_temp_int) + ((small_info_body->target_temp_frac_bool) ? 0.5 : 0.0); + stateFloat = 8.0 + (float)(small_info_body->target_temp_int) + (small_info_body->target_temp_frac_dec / 10.0); stateChangedFlag = stateChangedFlag || (_current_ac_state.temp_target != stateFloat); _current_ac_state.temp_target = stateFloat; _current_ac_state.temp_target_matter = true;