Add negative price provider fee support in VERSION.md

Introduced support for negative provider fees with a new secret key and updated price calculation methods for both positive and negative prices.
This commit is contained in:
2026-04-06 03:19:58 +02:00
committed by GitHub
parent 134cb7bbb1
commit 6f3ba88394
+21 -1
View File
@@ -1,5 +1,25 @@
# EPrices Version History # EPrices Version History
## v1.1 — 2026-04-06
### Negative price provider fee
Added separate provider fee support for negative spot prices via a new
`eprices_neg_prov_fee` secret key. Positive and negative market prices
now use independent fee multipliers, correctly modelling contracts where
the provider's fee structure differs between the two cases.
Price calculation:
- Positive: `(raw / 1000) × (1 + prov_fee) × (1 + vat_rate)`
- Negative: `(raw / 1000) × (1 - neg_prov_fee) × (1 + vat_rate)`
VAT is applied to both, consistent with net billing where VAT is calculated
on the monthly net sum (linear equivalence applies).
See `CHANGELOG.md` for full implementation details.
---
## v1.0 — 2026-04-05 ## v1.0 — 2026-04-05
First public release. First public release.
@@ -49,4 +69,4 @@ persistently in ESP32 NVS flash so they survive reboots without re-fetching.
| `secrets.yaml` | Local secrets — not committed to git | | `secrets.yaml` | Local secrets — not committed to git |
| `CHANGELOG.md` | Full sensor and entity ID reference for v1.0 | | `CHANGELOG.md` | Full sensor and entity ID reference for v1.0 |
| `README.md` | Installation guide and full sensor reference | | `README.md` | Installation guide and full sensor reference |
| `ENTSO-E-PRICES-MIGRATION.md` | Optional — migration guide from the predecessor project | | `ENTSO-E-PRICES-MIGRATION.md` | Optional — migration guide from the predecessor project |