From 90d9a5cfa7a55f149a47f85f5f1dcd27ebee5cbe Mon Sep 17 00:00:00 2001 From: GrKoR Date: Sat, 28 Oct 2023 22:42:04 +0300 Subject: [PATCH 1/2] fix: inverter power limitation off --- components/aux_ac/aux_ac.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/aux_ac/aux_ac.h b/components/aux_ac/aux_ac.h index a014e8d..2ce51a9 100644 --- a/components/aux_ac/aux_ac.h +++ b/components/aux_ac/aux_ac.h @@ -1922,8 +1922,7 @@ namespace esphome } // ограничение мощности инвертора - if ((cmd->inverter_power_limitation_enable) && - (cmd->inverter_power_limitation_value != AC_INVERTER_POWER_LIMITATION_VALUE_UNTOUCHED)) + if ((cmd->inverter_power_limitation_value != AC_INVERTER_POWER_LIMITATION_VALUE_UNTOUCHED)) { pack->body[13] = (pack->body[13] & ~AC_INVERTER_POWER_LIMITATION_ENABLE_MASK) | (cmd->inverter_power_limitation_enable << 7); cmd->inverter_power_limitation_value = _power_limitation_value_normalise(cmd->inverter_power_limitation_value); From 7df8ab3cc29337b84aff456f50cece1f28e97444 Mon Sep 17 00:00:00 2001 From: GrKoR Date: Mon, 30 Oct 2023 01:05:30 +0300 Subject: [PATCH 2/2] fix: version++ --- 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 2ce51a9..99d4e7f 100644 --- a/components/aux_ac/aux_ac.h +++ b/components/aux_ac/aux_ac.h @@ -113,7 +113,7 @@ namespace esphome static const uint32_t AC_PACKET_TIMEOUT_MIN; }; - const std::string Constants::AC_FIRMWARE_VERSION = "0.2.12"; + const std::string Constants::AC_FIRMWARE_VERSION = "0.2.13"; // custom fan modes const std::string Constants::MUTE = "mute";