Skip to content

Commit 74d555b

Browse files
authored
Merge pull request #87 from GrKoR/dev
fix: inverter power limitation off
2 parents 864ad07 + 7df8ab3 commit 74d555b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

components/aux_ac/aux_ac.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ namespace esphome
113113
static const uint32_t AC_PACKET_TIMEOUT_MIN;
114114
};
115115

116-
const std::string Constants::AC_FIRMWARE_VERSION = "0.2.12";
116+
const std::string Constants::AC_FIRMWARE_VERSION = "0.2.13";
117117

118118
// custom fan modes
119119
const std::string Constants::MUTE = "mute";
@@ -1922,8 +1922,7 @@ namespace esphome
19221922
}
19231923

19241924
// ограничение мощности инвертора
1925-
if ((cmd->inverter_power_limitation_enable) &&
1926-
(cmd->inverter_power_limitation_value != AC_INVERTER_POWER_LIMITATION_VALUE_UNTOUCHED))
1925+
if ((cmd->inverter_power_limitation_value != AC_INVERTER_POWER_LIMITATION_VALUE_UNTOUCHED))
19271926
{
19281927
pack->body[13] = (pack->body[13] & ~AC_INVERTER_POWER_LIMITATION_ENABLE_MASK) | (cmd->inverter_power_limitation_enable << 7);
19291928
cmd->inverter_power_limitation_value = _power_limitation_value_normalise(cmd->inverter_power_limitation_value);

0 commit comments

Comments
 (0)