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

OpenSprinkler bug. run_seconds can not be float in opensprinkler.run service #294

Open
bob-tm opened this issue Jul 5, 2024 · 0 comments

Comments

@bob-tm
Copy link

bob-tm commented Jul 5, 2024

Hi,

After some calculations and converting between minutes and seconds I receive run_seconds parametr like array of float with .0 at the end of each zone.

but OpenSprinkler interprets the dot as a zone separator, so
run_seconds = [0,480.0,0,540.0,0,2820.0,3240.0,0] do not work correctly

run_seconds = [0,480,0,540,0,2820,3240,0] - work nice

I add int() conversion in my code for each item in array, but it is easy to add similar conversion before running request.

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

No branches or pull requests

1 participant