home-assistant_OctopusAgile
home-assistant_OctopusAgile copied to clipboard
More robust handling of gaps in meter readings
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
+1!

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