BottlecapDave / HomeAssistant-OctopusEnergy

Unofficial Home Assistant integration for interacting with Octopus Energy

Home Page:https://bottlecapdave.github.io/HomeAssistant-OctopusEnergy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

10.3.0 - Unexpected debug output in logs

thewishy opened this issue · comments

Describe the bug

Upgraded 10.1.0 to 10.3.0 today.

  • Octopus IO
  • Octopus Mini
  • Home Assistant Core, 2024.4.3

Since the upgrade, the log files seem to include datapoints which are being gathered from the Octopus API. Debug logging is not enabled.

Reproduction steps

Unclear - Upgraded from 10.1.0

Expected behaviour

Debug logs only present when debug logging enabled?

Tariff Code

E-1R-INTELLI-VAR-22-10-14-J

Integration Version

10.3.0

Home Assistant Version

2024.4.3

Fresh Install?

After upgrading

Home Assistant Logs

Apr 18 21:23:10 nandi hass[416880]: https://api.octopus.energy/v1/gas-meter-points/3****7/meters/G4P*****/consumption?period_from=2024-04-16T23:00:00Z&period_to=2024-04-17T23:00:00Z
Apr 18 21:23:10 nandi hass[416880]: https://api.octopus.energy/v1/gas-meter-points/3****7/meters/G4P****/consumption?page_size=1
Apr 18 21:23:10 nandi hass[416880]: 2024-04-16 23:00:00+00:00
Apr 18 21:23:10 nandi hass[416880]: 2024-04-16 23:30:00+00:00
Apr 18 21:23:10 nandi hass[416880]: 2024-04-17 00:00:00+00:00
.. Repeats with various timeblocks for hundreds of lines ...

Confirmation

  • I confirm that I cannot find my solution within the documentation
  • I confirm that I cannot find my solution within the FAQ

I found the same, lots of lines with just a timestamp repeating at 1 minute intervals.
Downgraded to 10.2.1 and it's back to normal.

Apparently coming from utils/__init__.py line 76:

        print(rate["start”])

Already fixed in commit c028b15 in the develop branch, but not yet released.

Hello and sorry about this. I've released v10.3.1 which should remove these statements