mirror of
https://github.com/GrKoR/esphome_aux_ac_component.git
synced 2025-12-06 11:36:55 +03:00
v.0.2.9-dev.3
This commit is contained in:
@@ -1668,7 +1668,7 @@ class AirCon : public esphome::Component, public esphome::climate::Climate {
|
||||
|
||||
// ограничение мощности инвертора
|
||||
if (cmd->inverter_power_limitation_enable) {
|
||||
pack->body[13] = (pack->body[13] & ~AC_INVERTER_POWER_LIMITATION_ENABLE_MASK) | 1;
|
||||
pack->body[13] = (pack->body[13] & ~AC_INVERTER_POWER_LIMITATION_ENABLE_MASK) | (1 << 7);
|
||||
} else {
|
||||
pack->body[13] = (pack->body[13] & ~AC_INVERTER_POWER_LIMITATION_ENABLE_MASK) | 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user