From f67bc7df33e4f3fc0c54f4e7c35c4747200e65e9 Mon Sep 17 00:00:00 2001 From: Brokly Date: Fri, 27 May 2022 08:16:53 +0300 Subject: [PATCH] Add files via upload --- components/aux_ac/aux_ac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/aux_ac/aux_ac.h b/components/aux_ac/aux_ac.h index 9c6a569..c91e397 100644 --- a/components/aux_ac/aux_ac.h +++ b/components/aux_ac/aux_ac.h @@ -1316,7 +1316,7 @@ class AirCon : public esphome::Component, public esphome::climate::Climate { { const float koef = ((float)OUTDOOR_FILTER_PESCENT)/100; const float antkoef = 1.0 - koef; - static float temp = _current_ac_state.temp_outdoor; + static float temp = big_info_body->outdoor_temperature - 0x20; temp = temp * antkoef + koef * (big_info_body->outdoor_temperature - 0x20); stateChangedFlag = stateChangedFlag || (_current_ac_state.temp_outdoor != temp); _current_ac_state.temp_outdoor = temp;