Skip to content

Quick adaptation to new unique price tariff 2.0TD

Compare
Choose a tag to compare
@azogue azogue released this 01 Jun 06:43
· 144 commits to master since this release

Changes:

  • Prices for dates >= 2021-06-01 (new '2.0 TD' tariff) now use "PCB" and "CYM" price identifier keys instead of the old keys for previous price tariffs (GEN/NOC/VHS), matching the new JSON from Esios API, and making the HA sensor work again.
  • Add new flag to set prices for Ceuta & Melilla (to use "CYM" identifier instead of "PCB")

Note: this is a quickfix (a patch!) to make the sensor work again for the new tariff. No "new features" are introduced, like 'period' indicators for energy or power; these will come in future releases :)