From 79e373372f16f60baca68ab48f492790bddbafec Mon Sep 17 00:00:00 2001 From: Trefor Southwell <48591903+springfall2008@users.noreply.github.com> Date: Tue, 24 Dec 2024 13:08:22 +0000 Subject: [PATCH] Put back debug stuff --- apps/predbat/userinterface.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/apps/predbat/userinterface.py b/apps/predbat/userinterface.py index c68e0d07..4b776a71 100644 --- a/apps/predbat/userinterface.py +++ b/apps/predbat/userinterface.py @@ -342,12 +342,7 @@ def get_ha_config(self, name, default): item = self.config_index.get(name) if item and item["name"] == name: enabled = self.user_config_item_enabled(item) - if name == "set_export_freeze_only": - print("Get HA config {} enabled {} item {}".format(name, enabled, item)) - if not enabled: - value = None - else: - value = item.get("value", None) + value = item.get("value", None) if default is None: default = item.get("default", None) if value is None: