From 2ee3a1c0ec397ffe49af9779894836ef8769dede Mon Sep 17 00:00:00 2001 From: ElVit <54866762+ElVit@users.noreply.github.com> Date: Tue, 25 Nov 2025 09:33:50 +0100 Subject: [PATCH] Update panasonic_heatpump_climate.cpp --- .../climate/panasonic_heatpump_climate.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/components/panasonic_heatpump/climate/panasonic_heatpump_climate.cpp b/components/panasonic_heatpump/climate/panasonic_heatpump_climate.cpp index c7453b8..8f29efa 100644 --- a/components/panasonic_heatpump/climate/panasonic_heatpump_climate.cpp +++ b/components/panasonic_heatpump/climate/panasonic_heatpump_climate.cpp @@ -116,15 +116,12 @@ void PanasonicHeatpumpClimate::publish_new_state(const std::vector& dat }; if (!this->get_traits().has_feature_flags(climate::CLIMATE_REQUIRES_TWO_POINT_TARGET_TEMPERATURE) && - this->mode == new_mode && - this->target_temperature == new_target_temp_heat && + this->mode == new_mode && this->target_temperature == new_target_temp_heat && this->current_temperature == new_current_temp) return; if (this->get_traits().has_feature_flags(climate::CLIMATE_REQUIRES_TWO_POINT_TARGET_TEMPERATURE) && - this->mode == new_mode && - this->target_temperature_high == new_target_temp_heat && - this->target_temperature_low == new_target_temp_cool && - this->current_temperature == new_current_temp) + this->mode == new_mode && this->target_temperature_high == new_target_temp_heat && + this->target_temperature_low == new_target_temp_cool && this->current_temperature == new_current_temp) return; if (new_mode != 255)