update lcd state on boot
This commit is contained in:
parent
2ae108f8b9
commit
1b175d0b27
1 changed files with 4 additions and 0 deletions
|
|
@ -24,6 +24,10 @@ void CUDDisplay::begin(std::function<rtctime_t()> getTime, DigitalInputCard *inp
|
||||||
delay(100);
|
delay(100);
|
||||||
this->sendClock();
|
this->sendClock();
|
||||||
this->setACControlEnabled(true);
|
this->setACControlEnabled(true);
|
||||||
|
this->updateLightGroupState();
|
||||||
|
this->updateFanGroupState();
|
||||||
|
this->updateAirPurifierState();
|
||||||
|
this->updateACState();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CUDDisplay::handleTouch(uint8_t page, uint8_t component, uint8_t event)
|
void CUDDisplay::handleTouch(uint8_t page, uint8_t component, uint8_t event)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue