hass.tibber_prices/custom_components
Julian Pawlowski 422d1afbb7 fix(coordinator): restore missing while-loop increment in group_periods_by_day
The timedelta import move (previous commit) was committed correctly, but a
subsequent automated formatting pass stripped the line that used it:

    current_date = current_date + timedelta(days=1)

Without the increment the while loop never terminates, causing HA to hang
indefinitely during coordinator startup when period calculation is triggered.
Additionally, the timedelta module-level import was also reverted by the
same pass, so re-add it here.

Restore both the import and the loop increment so group_periods_by_day
correctly iterates one day at a time.
2026-04-06 14:19:25 +00:00
..
tibber_prices fix(coordinator): restore missing while-loop increment in group_periods_by_day 2026-04-06 14:19:25 +00:00