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.
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.