Skip to content

Commit

Permalink
Put back debug stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
springfall2008 authored Dec 24, 2024
1 parent 5c83bbf commit 79e3733
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions apps/predbat/userinterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 79e3733

Please sign in to comment.