Skip to content

Added second=0 to update_forecast and fixed datetime vs str comparison#195

Merged
MTrab merged 2 commits intoMTrab:mainfrom
mm98:main
Nov 5, 2025
Merged

Added second=0 to update_forecast and fixed datetime vs str comparison#195
MTrab merged 2 commits intoMTrab:mainfrom
mm98:main

Conversation

@mm98
Copy link
Copy Markdown
Contributor

@mm98 mm98 commented Oct 9, 2025

update_forecast was missing second=0. When seconds are undefined, it defaults to second=None which calls the update_forecast every second for the minute.

stromligning_2025-09-27T05-48-27.172Z.log

`update_forecast` was missing `second=0`. When seconds are undefined, it defaults to `second=None` which calls the `update_forecast` every second for the minute
In some random cases, the date comparison failed since `datetime` was compared to `str`.
@mm98 mm98 changed the title Added second=0 to update_forecast Added second=0 to update_forecast and fixed datetime vs str comparison Oct 10, 2025
@MTrab MTrab added bug Something isn't working patch Bump patch version labels Nov 5, 2025
@MTrab MTrab merged commit 942fb2f into MTrab:main Nov 5, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working patch Bump patch version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants