home-assistant_OctopusAgile icon indicating copy to clipboard operation
home-assistant_OctopusAgile copied to clipboard

More robust handling of gaps in meter readings

Open d1964b opened this issue 4 years ago • 1 comments
trafficstars

If there are gaps in the meter readings available from Octopus the logs files can be quickly overwhelmed by huge numbers of "[OctopusAgile] Unmatched consumption ..." , errors. I may be unlucky but I have had gaps of at least a day in every month I've been on the Octopus Agile rate , sometimes it has been weeks before Octopus has done something about it. Currently I can suppress the errors by commenting out lines 377-380 in custom_components/octopusagile/OctopusAgile/Agile.py but I think it would be better if the code could simply handle this with a single daily message to the effect that consumption figures are approximate due to gaps in the meter readings. Thanks

d1964b avatar Mar 06 '21 16:03 d1964b

+1! image

Thanks for the pointer re commenting out the offending code, have done that as a stopgap.

no1knows avatar Feb 05 '23 10:02 no1knows