diff --git a/src/ise_display.cpp b/src/ise_display.cpp index 3860c85..cf74461 100644 --- a/src/ise_display.cpp +++ b/src/ise_display.cpp @@ -864,14 +864,6 @@ void ISEDisplay::updateuserACmode() switch (user_mode) { case 1: - this->displayAdapter->print("ac_mode.pic="); - this->displayAdapter->print(COMPONENT_AC_MODE_COOL_PIC); - this->sendStopBytes(); - this->displayAdapter->print("ac_mode.pic2="); - this->displayAdapter->print(COMPONENT_AC_MODE_COOL_PIC_PRESSED); - this->sendStopBytes(); - break; - case 2: this->displayAdapter->print("ac_mode.pic="); this->displayAdapter->print(COMPONENT_AC_MODE_FAN_PIC); this->sendStopBytes(); @@ -879,6 +871,14 @@ void ISEDisplay::updateuserACmode() this->displayAdapter->print(COMPONENT_AC_MODE_FAN_PIC_PRESSED); this->sendStopBytes(); break; + case 2: + this->displayAdapter->print("ac_mode.pic="); + this->displayAdapter->print(COMPONENT_AC_MODE_COOL_PIC); + this->sendStopBytes(); + this->displayAdapter->print("ac_mode.pic2="); + this->displayAdapter->print(COMPONENT_AC_MODE_COOL_PIC_PRESSED); + this->sendStopBytes(); + break; default: break; } diff --git a/src/ise_display.hpp b/src/ise_display.hpp index ca985a5..74a86fc 100644 --- a/src/ise_display.hpp +++ b/src/ise_display.hpp @@ -74,7 +74,7 @@ class ISEDisplay : public ESPMegaDisplay { u_int8_t lightLevelRow3; u_int8_t lightLevelRow4; - + void updateuserACmode(); void updateACfanSpeed(); bool calculateLightGroupState();