diff --git a/.bumpversion-edge.toml b/.bumpversion-edge.toml index 0c22d64..a05661b 100644 --- a/.bumpversion-edge.toml +++ b/.bumpversion-edge.toml @@ -1,5 +1,5 @@ [tool.bumpversion] -current_version = "2.11.35" +current_version = "2.11.36" 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 f0869c0..4cdaa71 100644 --- a/GridboxConnectorAddon-edge/CHANGELOG.md +++ b/GridboxConnectorAddon-edge/CHANGELOG.md @@ -1,5 +1,15 @@ +## 2.11.36 + +### 🔨 Fixed + +- last_reset should now working 🙈 🤷 + +### 🔄 Changed + +- bump ha-mqtt-discoverable 0.16.4 + ## 2.11.35 ### 🔨 Fixed diff --git a/GridboxConnectorAddon-edge/GridboxConnector/__main__.py b/GridboxConnectorAddon-edge/GridboxConnector/__main__.py index 0fd6da3..4ccc169 100644 --- a/GridboxConnectorAddon-edge/GridboxConnector/__main__.py +++ b/GridboxConnectorAddon-edge/GridboxConnector/__main__.py @@ -66,7 +66,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) + ha_viessmann_historical_device.update_sensors(total, last_reset=midnight_today) if one_time_print or logger.level == logging.DEBUG: logger.info(total) one_time_print = False diff --git a/GridboxConnectorAddon-edge/GridboxConnector/requirements.txt b/GridboxConnectorAddon-edge/GridboxConnector/requirements.txt index 85e91a5..27ed061 100644 --- a/GridboxConnectorAddon-edge/GridboxConnector/requirements.txt +++ b/GridboxConnectorAddon-edge/GridboxConnector/requirements.txt @@ -1,4 +1,4 @@ -ha-mqtt-discoverable==0.16.3 +ha-mqtt-discoverable==0.16.4 requests==2.32.3 viessmann-gridbox-connector==1.6.0 logfire==2.11.0 diff --git a/GridboxConnectorAddon-edge/cloudSettings.json b/GridboxConnectorAddon-edge/cloudSettings.json index fc04fad..a4fbe90 100644 --- a/GridboxConnectorAddon-edge/cloudSettings.json +++ b/GridboxConnectorAddon-edge/cloudSettings.json @@ -1,5 +1,5 @@ { - "version": "2.11.35", + "version": "2.11.36", "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 14d2fd6..ae9431e 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.35" +version: "2.11.36" 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 fc04fad..a4fbe90 100644 --- a/GridboxConnectorAddon-edge/rootfs/share/cloudSettings.json +++ b/GridboxConnectorAddon-edge/rootfs/share/cloudSettings.json @@ -1,5 +1,5 @@ { - "version": "2.11.35", + "version": "2.11.36", "urls": { "login": "https://gridx.eu.auth0.com/oauth/token", "gateways": "https://api.gridx.de/gateways",