mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-12 11:14:28 +05:00
Add log info
This commit is contained in:
@@ -120,8 +120,12 @@ protected:
|
||||
|
||||
if (this->prevOtStatus != vars.states.otStatus) {
|
||||
if (vars.states.otStatus) {
|
||||
Log.sinfoln(FPSTR(S_OT), F("Boiler connected...initializing"));
|
||||
this->initBoiler();
|
||||
}
|
||||
else {
|
||||
Log.swarningln(FPSTR(S_OT), F("Boiler disconnected"));
|
||||
}
|
||||
this->prevOtStatus = vars.states.otStatus;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user