update lcd state on boot

This commit is contained in:
Siwat Sirichai 2024-01-11 22:14:15 +07:00
parent 2ae108f8b9
commit 1b175d0b27

View file

@ -24,6 +24,10 @@ void CUDDisplay::begin(std::function<rtctime_t()> getTime, DigitalInputCard *inp
delay(100);
this->sendClock();
this->setACControlEnabled(true);
this->updateLightGroupState();
this->updateFanGroupState();
this->updateAirPurifierState();
this->updateACState();
}
void CUDDisplay::handleTouch(uint8_t page, uint8_t component, uint8_t event)