From 9a468bbb8e48685fb4d2796d2d1940cbd40854af Mon Sep 17 00:00:00 2001 From: unl0ck Date: Tue, 24 Dec 2024 11:38:14 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20revert=20changs=20with=20?= =?UTF-8?q?last=5Freset?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bumpversion-edge.toml | 2 +- GridboxConnectorAddon-edge/CHANGELOG.md | 6 ++++++ GridboxConnectorAddon-edge/GridboxConnector/__main__.py | 2 +- GridboxConnectorAddon-edge/cloudSettings.json | 2 +- GridboxConnectorAddon-edge/config.yaml | 2 +- GridboxConnectorAddon-edge/rootfs/share/cloudSettings.json | 2 +- 6 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.bumpversion-edge.toml b/.bumpversion-edge.toml index 90ceb08..8c74519 100644 --- a/.bumpversion-edge.toml +++ b/.bumpversion-edge.toml @@ -1,5 +1,5 @@ [tool.bumpversion] -current_version = "2.11.24" +current_version = "2.11.25" parse = "(?P\\d+)\\.(?P\\d+)\\.(?P\\d+)" serialize = ["{major}.{minor}.{patch}"] search = "{current_version}" diff --git a/GridboxConnectorAddon-edge/CHANGELOG.md b/GridboxConnectorAddon-edge/CHANGELOG.md index 32c0102..7f7b491 100644 --- a/GridboxConnectorAddon-edge/CHANGELOG.md +++ b/GridboxConnectorAddon-edge/CHANGELOG.md @@ -1,5 +1,11 @@ +## 2.11.25 + +### 🔨 Fixed + +- historical devices revert last_update + ## 2.11.24 ### 🔨 Fixed diff --git a/GridboxConnectorAddon-edge/GridboxConnector/__main__.py b/GridboxConnectorAddon-edge/GridboxConnector/__main__.py index 42c13d6..8e49b88 100644 --- a/GridboxConnectorAddon-edge/GridboxConnector/__main__.py +++ b/GridboxConnectorAddon-edge/GridboxConnector/__main__.py @@ -56,7 +56,7 @@ def historical_data_task(gridboxConnector:GridboxConnector, ha_viessmann_histori if len(measurement) > 0: result = measurement[0] total = result["total"] - ha_viessmann_historical_device.update_sensors(total, midnight_today.isoformat()) + ha_viessmann_historical_device.update_sensors(total) if one_time_print or logger.level == logging.DEBUG: logger.info(total) one_time_print = False diff --git a/GridboxConnectorAddon-edge/cloudSettings.json b/GridboxConnectorAddon-edge/cloudSettings.json index 713c9cf..08a76be 100644 --- a/GridboxConnectorAddon-edge/cloudSettings.json +++ b/GridboxConnectorAddon-edge/cloudSettings.json @@ -1,5 +1,5 @@ { - "version": "2.11.24", + "version": "2.11.25", "urls": { "login": "https://gridx.eu.auth0.com/oauth/token", "gateways": "https://api.gridx.de/gateways", diff --git a/GridboxConnectorAddon-edge/config.yaml b/GridboxConnectorAddon-edge/config.yaml index 32b97f4..60c13d3 100644 --- a/GridboxConnectorAddon-edge/config.yaml +++ b/GridboxConnectorAddon-edge/config.yaml @@ -1,7 +1,7 @@ # https://developers.home-assistant.io/docs/add-ons/configuration#add-on-config --- name: Viessmann Gridbox Connector (edge) -version: "2.11.24" +version: "2.11.25" slug: "gridbox_connector_edge" description: "Viessmann Gridbox Connector (edge)" url: "https://github.com/unl0ck/homeassistant-addon-viessmann-gridbox/tree/main/GridboxConnectorAddon-edge" diff --git a/GridboxConnectorAddon-edge/rootfs/share/cloudSettings.json b/GridboxConnectorAddon-edge/rootfs/share/cloudSettings.json index 713c9cf..08a76be 100644 --- a/GridboxConnectorAddon-edge/rootfs/share/cloudSettings.json +++ b/GridboxConnectorAddon-edge/rootfs/share/cloudSettings.json @@ -1,5 +1,5 @@ { - "version": "2.11.24", + "version": "2.11.25", "urls": { "login": "https://gridx.eu.auth0.com/oauth/token", "gateways": "https://api.gridx.de/gateways",