mirror of
https://github.com/GrKoR/esphome_aux_ac_component.git
synced 2026-02-01 23:50:32 +03:00
Merge branch 'dev' into Brokly-31-05
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user