Skip to content

Releases: privatecoder/ha-pvpc-next

Change refresh-time

06 Apr 16:30

Choose a tag to compare

  • 🔧 Bump bundled aiopvpc to v5.0.2 (change refresh-time to 20:20 according to ree.es refresh at 20:15)

Fix partial data on first load with API token

22 Feb 19:28

Choose a tag to compare

  • 🐛 Fix partial data on first load with API token: when the config flow token validation triggers ESIOS rate-limiting, the first coordinator refresh now retries failed sensors after a short delay (bundled aiopvpc v5.0.1).
  • 🐛 Diagnostic sensors (API Source, Price Mode, Data IDs) are now available independently of PVPC price data availability.

Vendor conflicting libraries

22 Feb 10:39

Choose a tag to compare

  • Vendor aiopvpc and pvpc_holidays directly into the custom component to avoid conflicts with the built-in pvpc_hourly_pricing integration that pins a different aiopvpc version from PyPI.
  • Remove git-based aiopvpc requirement from manifest.json; only holidays>=0.89 is needed now.
  • Update dependency logger names to match vendored module paths.

Add indexed prices

16 Feb 10:33

Choose a tag to compare

  • Add configurable price mode (pvpc or indexed) with safe defaults for existing configurations (indexed mode is only available when using the private API with a valid API token)
  • Add optional reference price sensor behavior (Current Indexed Price in PVPC mode or Current PVPC in indexed mode)
  • Add a dedicated diagnostic sensor that reports active price mode.
  • Add mode attribute on Current Price to show whether PVPC or indexed pricing is active.

Fix holiday handling

04 Feb 10:45

Choose a tag to compare

fix underlying holiday handling through spanish-pvpc-holidays, added config for spanish-pvpc-holidays' csv-/python-holidays-options, optimized holiday-fetch-handling, added proper debug logs


Note:

As noted by some, not all public holidays in spain count as holidays that will be treated as period 3 (valle).

aiopvpc has therefore been updated to not directly use python holidays but the newly created spanish-pvpc-holidays wrapper.

It aims to calculate only valid holidays based on python-holidays or a csv export from the official Seguridad Social website as source.

Fix broken aiopvpc dependency

28 Jan 20:34

Choose a tag to compare

fix broken aiopvpc dependency which itself had an incompatible version dependency of async_timeout (incompatible with the pinned version in HA core)

Make time-delta sensors update-interval configurable, add average price for today

24 Jan 11:56

Choose a tag to compare

made time-delta sensors update-interval configurable via options (disabled / hourly / minutely), added average price for today (to keep track of pricing)

Outsourced bundled aiopvpc

20 Jan 13:33

Choose a tag to compare

outsourced the updated and patched bundled aiopvpc to its own fork.

Imporve better prices ahead

19 Jan 23:03

Choose a tag to compare

compute “better prices ahead” across today+tomorrow directly and set it always relative to the current price.

Add power period sensors

18 Jan 18:06

Choose a tag to compare

added sensors for current power period, next power period and a timer until the next power period.