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