change AC behavior; comfirmed work

This commit is contained in:
reaw55 2024-04-22 14:26:40 +07:00
parent d4b36336cd
commit 553eae0566
5 changed files with 59 additions and 9 deletions

View file

@ -346,6 +346,7 @@ void pmswitchupdatedisplay(char *value)
ESP_LOGI("PM switch", "getting PM switch state from MQTT: %d", pm_switch.getValue());
iseDisplay.updateAirPurifierState();
iseDisplay.updateSystemtoggle();
iseDisplay.updateAllStandbyToggle();
ESP_LOGI("PM switch", "toggling PM switch state from: %d to %d", pm_switch.getValue(), !pm_switch.getValue());
}
void pmlockupdatedisplay(char *value)
@ -533,6 +534,7 @@ void handlePageChange(uint8_t page)
case PAGE_STANDBY:
iseDisplay.updateLightGroupStatePageStandby();
iseDisplay.updateAirPurifierStateStandby();
iseDisplay.updateAllStandbyToggle();
break;
case PAGE_DASHBOARD:
iseDisplay.updateLightGroupStatePageDashboard();