Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix minimum_time calculation for non-default values #125

Merged
merged 1 commit into from
May 6, 2024
Merged

Conversation

fheft
Copy link
Contributor

@fheft fheft commented May 3, 2024

Time intervals are now rounded up correctly to the next minimum_time step.
Previously it was only working for the default value of 0.25 (quarter of an hour), see #124. Or maybe I'm misunderstanding the feature? :)

It not works as I would expect with the yaml format, but I have not tested this with the buch format.

* time intervals are rounded up to the next 'minimum_time'
  step
@fheft fheft requested review from dgrammlich and BuJo May 3, 2024 10:46
Copy link
Member

@BuJo BuJo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That... makes much more sense than the code before.

@BuJo BuJo merged commit 2b06282 into main May 6, 2024
5 checks passed
@BuJo BuJo deleted the 124-minimum-time branch May 6, 2024 08:54
@fheft fheft mentioned this pull request May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants