diff --git a/apps/predbat/predbat.py b/apps/predbat/predbat.py index b17919c5..095566d1 100644 --- a/apps/predbat/predbat.py +++ b/apps/predbat/predbat.py @@ -21,7 +21,7 @@ import requests import yaml -THIS_VERSION = "v7.15.18" +THIS_VERSION = "v7.15.19" PREDBAT_FILES = ["predbat.py"] TIME_FORMAT = "%Y-%m-%dT%H:%M:%S%z" TIME_FORMAT_SECONDS = "%Y-%m-%dT%H:%M:%S.%f%z" @@ -10212,6 +10212,11 @@ def fetch_octopus_rates(self, entity_id, adjust_key=None): data_import = self.get_state(entity_id=next_rate_id, attribute="all_rates") if data_import: data_all += data_import + else: + # Nordpool tomorrow + data_import = self.get_state(entity_id=current_rate_id, attribute="raw_tomorrow") + if data_import: + data_all += data_import if data_all: rate_key = "rate" @@ -11498,7 +11503,7 @@ def expose_config(self, name, value, quiet=True, event=False, force=False, in_pr "friendly_name": item["friendly_name"], "title": item["title"], "in_progress": in_progress, - "auto_update": True, + "auto_update": False, "installed_version": item["installed_version"], "latest_version": latest, "entity_picture": item["entity_picture"],