lozzd / octopus-energy-rates-card

This lovelace card for Home Assistant displays the Octopus Energy rate prices per each 30 minute slot
MIT License
60 stars 22 forks source link

Fixes for #33

Closed stevetrease closed 7 months ago

stevetrease commented 7 months ago

Fixes to support v9.0.0 of HomeAssistant-OctopusEnergy released in November 2023.

Now need to use an events entity of the form event.octopus_energyelectricity{{METER_SERIALNUMBER}}{{MPAN_NUMBER}}_current_day_rates.

Since v9.0 now works in £ not pence I have changed default medium and high limits to 0.2 and 0.3 and rounding to 3 decimal places to show 1/10p.

This version of the card only supports one entity, so if tomorrow's rates are required, create a second card with an entity of the form event.octopus_energyelectricity{{METER_SERIALNUMBER}}{{MPAN_NUMBER}}_next_day_rates.