mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-23 23:03:06 +05:00
Add log info
This commit is contained in:
1 parent
a5581f3778
commit
15645f4d30
1 file changed
+4
@@ -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