File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments