Open bob-tm opened 2 months ago
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.
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.