mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
don't show boiler details if it isnt connected
This commit is contained in:
@@ -270,6 +270,9 @@ void showInfo() {
|
||||
}
|
||||
|
||||
myDebug_P(PSTR(""));
|
||||
|
||||
// show boiler stats if connected
|
||||
if (ems_getBoilerEnabled()) {
|
||||
myDebug_P(PSTR("%sBoiler stats:%s"), COLOR_BOLD_ON, COLOR_BOLD_OFF);
|
||||
|
||||
// version details
|
||||
@@ -362,6 +365,7 @@ void showInfo() {
|
||||
(EMS_Boiler.UBAuptime % 1440) / 60,
|
||||
EMS_Boiler.UBAuptime % 60);
|
||||
}
|
||||
}
|
||||
|
||||
// For SM10/SM100/SM200 Solar Module
|
||||
if (ems_getSolarModuleEnabled()) {
|
||||
|
||||
Reference in New Issue
Block a user