don't show boiler details if it isnt connected

This commit is contained in:
Paul
2020-01-07 22:03:31 +01:00
parent f99991bf85
commit 46f32682f0

View File

@@ -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()) {