Closed LucidityCrash closed 11 months ago
Also while you are looking at that, would it be "better" to have those attributes in GBP rather than pence for consistency with the sensor unit of measure ?
Hi and thanks for raising this issue. The denomination was present to make it clear what the value represents. The inconsistency between some of the attributes was mainly due to OE reporting in pence and HA wanting data reported in pounds and pence. I was trying to avoid transforming the data reported by OE to reduce errors, but this has lead to a less than ideal experience for users.
I had a few inconsistency reports, which I've consolidated into https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/issues/481 as they will all result in a breaking change and it makes it easier for me to track them all. Therefore I will be closing this issue and you should watch that issue for updates.
Describe the bug
Target entities have a number of cost attributes and they all have a "p" in their value :
(the null ones do as well)
the current day rate entity doesn't :
Reproduction steps
create a target entity
Expected behaviour
the cost values should be a float not a string.
Tariff Code
No response
Integration Version
8.4.4
Home Assistant Version
2023.10.3
Fresh Install?
Not specified
Home Assistant Logs
N/A