From 736a99b1fdd2ca98c0c182c136b6f45c14219e49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eugenio=20Panadero=20Maci=C3=A1?= Date: Mon, 25 Mar 2024 09:45:42 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Update=20aiopvpc=20to=20fix=20or?= =?UTF-8?q?der=20of=20prices=20for=20INDEXED=20sensor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ custom_components/pvpc_hourly_pricing/manifest.json | 4 ++-- poetry.lock | 8 ++++---- pyproject.toml | 4 ++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b24ec98..05e0351 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [v1.2.1](https://github.com/azogue/ha-pvpc-custom/tree/v1.2.1) 🐛 Fix unsorted prices in new composed sensor 'INDEXED' (2024-03-25) + +- 🐛 Update to `aiopvpc>=4.3.1` to fix order of prices for new INDEXED composed sensor (azogue/aiopvpc#72) + ## [v1.2.0](https://github.com/azogue/ha-pvpc-custom/tree/v1.2.0) ✨ Add new sensors for market adjustment and indexed tariff (2024-03-10) - ✨ Add new price sensors: **Market adjustment** (from ESIOS API indicator 2108), and **Indexed tariff** (as _composed_ price sensor calculated as `PVPC - ADJUSTMENT`), from first-time contributor @MiguelAngelLV in #18 (and azogue/aiopvpc#69) 🍻 diff --git a/custom_components/pvpc_hourly_pricing/manifest.json b/custom_components/pvpc_hourly_pricing/manifest.json index 16bdeea..f33dbe0 100644 --- a/custom_components/pvpc_hourly_pricing/manifest.json +++ b/custom_components/pvpc_hourly_pricing/manifest.json @@ -9,6 +9,6 @@ "issue_tracker": "https://github.com/azogue/ha-pvpc-custom/issues", "loggers": ["aiopvpc"], "quality_scale": "platinum", - "requirements": ["aiopvpc>=4.3.0"], - "version": "1.2.0" + "requirements": ["aiopvpc>=4.3.1"], + "version": "1.2.1" } diff --git a/poetry.lock b/poetry.lock index 6b473f6..ef5acfe 100644 --- a/poetry.lock +++ b/poetry.lock @@ -155,13 +155,13 @@ files = [ [[package]] name = "aiopvpc" -version = "4.3.0" +version = "4.3.1" description = "Retrieval of Spanish Electricity hourly prices (PVPC)" optional = false python-versions = ">=3.9" files = [ - {file = "aiopvpc-4.3.0-py3-none-any.whl", hash = "sha256:3fe5abb3599cf414f021c78eff78f6609f8b1f8012b12571c97524553bb3ec80"}, - {file = "aiopvpc-4.3.0.tar.gz", hash = "sha256:5bdc2afaa881bfd9b72d2c091a5379753ecbe4d7062dd2a739df2026dace9402"}, + {file = "aiopvpc-4.3.1-py3-none-any.whl", hash = "sha256:65468e5b526c941ec381589d6594daf1b3af407ad36a74f5e64a0cd763529e87"}, + {file = "aiopvpc-4.3.1.tar.gz", hash = "sha256:b6e8f4ad03ca8a3fb2cf77e00f26549185ea9e87b491d573c1f44d603d63d1d1"}, ] [package.dependencies] @@ -2299,4 +2299,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = ">=3.11,<3.13" -content-hash = "1a19abe472ffa9d4605cc1016dc234b9c46a6d2ff26c47d96b53aa75aefda297" +content-hash = "9c564f1fe4ba3b9112f9581b56eb6c016815b9eba7e95e6880e68c84f0797ddf" diff --git a/pyproject.toml b/pyproject.toml index e6bac3a..fd4cb0b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ha-pvpc-custom" -version = "1.2.0" +version = "1.2.1" description = "HomeAssistant custom integration for Spain electricity hourly pricing (PVPC)" authors = ["Eugenio Panadero "] license = "MIT" @@ -10,7 +10,7 @@ repository = "https://github.com/azogue/ha-pvpc-custom" [tool.poetry.dependencies] python = ">=3.11,<3.13" homeassistant = ">=2024.2.0" -aiopvpc = ">=4.3.0" +aiopvpc = ">=4.3.1" [tool.poetry.dev-dependencies] pre-commit = ">=2.2.0"