bug fixes

This commit is contained in:
GrKoR
2022-05-07 16:58:00 +03:00
parent 25a0afb4f1
commit e0d5be36c0
3 changed files with 4 additions and 2 deletions

View File

@@ -85,6 +85,7 @@ climate:
uart_id: ac_uart_bus
period: 7s
show_action: true
display_inverted: false
indoor_temperature:
name: AC Indoor Temperature
id: ac_indoor_temp

View File

@@ -87,6 +87,7 @@ climate:
uart_id: ac_uart_bus
period: 7s
show_action: true
display_inverted: false
indoor_temperature:
name: AC Indoor Temperature
id: ac_indoor_temp

View File

@@ -49,7 +49,7 @@ public:
static const uint32_t AC_STATES_REQUEST_INTERVAL;
};
const std::string Constants::AC_FIRMWARE_VERSION = "0.2.1";
const std::string Constants::AC_FIRMWARE_VERSION = "0.2.2";
const char *const Constants::TAG = "AirCon";
const std::string Constants::MUTE = "mute";
const std::string Constants::TURBO = "turbo";
@@ -353,7 +353,7 @@ enum ac_fanmute : uint8_t { AC_FANMUTE_OFF = 0x00, AC_FANMUTE_ON = 0x80, AC_FANM
// включение-выключение дисплея на корпусе внутреннего блока
#define AC_DISPLAY_MASK 0b00010000
enum ac_display : uint8_t { AC_DISPLAY_ON = 0x00, AC_DISPLAY_OFF = 0x10, AC_DISPLAY_UNTOUCHED = 0xFF };
enum ac_display : uint8_t { AC_DISPLAY_OFF = 0x00, AC_DISPLAY_ON = 0x10, AC_DISPLAY_UNTOUCHED = 0xFF };
// включение-выключение функции "Антиплесень".
// По факту: после выключения сплита он оставляет минут на 5 открытые жалюзи и глушит вентилятор. Уличный блок при этом гудит и тарахтит.