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: