Closed MatthewFlamm closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 93.67%. Comparing base (
f050161
) to head (068585c
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Not updating cache would be expected in use with retry_no_data=True
. This was found in https://github.com/home-assistant/core/pull/117109
Looks okay to me.
~Downside of this approach is that it adds some calculations to the forecast in addition to checking for filtered forecasts. This will duplicate calculations. Future enhancement would have a separate method for filtering and additions.~
Code refactored to filter forecast for old forecasts separately from making additions.