Merge branch 'dev' into Brokly-31-05

This commit is contained in:
Brokly
2022-06-01 12:45:22 +03:00
committed by GitHub
3 changed files with 115 additions and 21 deletions

View File

@@ -1206,7 +1206,7 @@ class AirCon : public esphome::Component, public esphome::climate::Climate {
stateChangedFlag = stateChangedFlag || (_current_ac_state.temp_outbound != stateFloat);
_current_ac_state.temp_outbound = stateFloat;
// температура непонятная температура
// температура компрессора внешнего блока
stateFloat = big_info_body->compressor_temperature_int - 0x20;
stateChangedFlag = stateChangedFlag || (_current_ac_state.temp_compressor != stateFloat);
_current_ac_state.temp_compressor = stateFloat;
@@ -3071,6 +3071,13 @@ class AirCon : public esphome::Component, public esphome::climate::Climate {
uint8_t load_presets_result = 0xFF;
#endif
#if defined(PRESETS_SAVING)
void set_store_settings(bool store_settings) { this->_store_settings = store_settings; }
bool get_store_settings() { return this->_store_settings; }
uint8_t load_presets_result = 0xFF;
#endif
void setup() override {
#if defined(PRESETS_SAVING)