From 537945fff73bf59054adea081254737b4a8a8f9c Mon Sep 17 00:00:00 2001 From: Steffen Fredriksen Date: Tue, 30 Dec 2025 00:08:50 +0100 Subject: [PATCH] Bump 0.0.18 --- .devcontainer/devcontainer.json | 2 +- custom_components/nordpool/aio_price.py | 4 +++- custom_components/nordpool/const.py | 4 ++-- custom_components/nordpool/manifest.json | 2 +- requirements.txt | 2 +- scripts/dev | 0 scripts/setup | 0 7 files changed, 8 insertions(+), 6 deletions(-) mode change 100644 => 100755 scripts/dev mode change 100644 => 100755 scripts/setup diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index ef51a26..2c13b5e 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,6 @@ { "name": "ludeeus/integration_blueprint", - "image": "mcr.microsoft.com/devcontainers/python:3.12", + "image": "mcr.microsoft.com/devcontainers/python:3.13", "postCreateCommand": "scripts/setup", "forwardPorts": [ 8123 diff --git a/custom_components/nordpool/aio_price.py b/custom_components/nordpool/aio_price.py index 7f17704..92b9ce9 100644 --- a/custom_components/nordpool/aio_price.py +++ b/custom_components/nordpool/aio_price.py @@ -287,7 +287,9 @@ async def fetch(self, data_type, end_date=None, areas=None, raw=False): if raw: return await self._fetch_json(data_type, today, areas) jobs = [ - self._fetch_json(data_type, yesterday, areas), + self._fetch_json( + data_type, yesterday, areas + ), # TODO this is no longer needed, seems like NP api really does return what they should self._fetch_json(data_type, today, areas), self._fetch_json(data_type, tomorrow, areas), ] diff --git a/custom_components/nordpool/const.py b/custom_components/nordpool/const.py index ea6eaef..67f4249 100644 --- a/custom_components/nordpool/const.py +++ b/custom_components/nordpool/const.py @@ -15,7 +15,7 @@ CONFIG_SCHEMA = vol.Schema({DOMAIN: vol.Schema({})}, extra=vol.ALLOW_EXTRA) NAME = DOMAIN -VERSION = "0.0.17" +VERSION = "0.0.18" ISSUEURL = "https://github.com/custom-components/nordpool/issues" @@ -123,7 +123,7 @@ "BE": ["EUR", "Belgium", 0.06], "AT": ["EUR", "Austria", 0.20], # Unsure about tax rate, correct if wrong - "GER": ["EUR", "Germany", 0.19], + "GER": ["EUR", "Germany", 0.19], # <-- this should be fixed. } # Needed incase a user wants the prices in non local currency diff --git a/custom_components/nordpool/manifest.json b/custom_components/nordpool/manifest.json index 87a7f9f..02b5231 100644 --- a/custom_components/nordpool/manifest.json +++ b/custom_components/nordpool/manifest.json @@ -15,5 +15,5 @@ "requirements": [ "backoff" ], - "version": "0.0.17" + "version": "0.0.18" } \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 4f24b9d..0d2d4e4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -nordpool==0.4.2 +#nordpool==0.4.2 backoff \ No newline at end of file diff --git a/scripts/dev b/scripts/dev old mode 100644 new mode 100755 diff --git a/scripts/setup b/scripts/setup old mode 100644 new mode 100755