ashleypittman / mec

MyEnergi Client API and Management tools.
GNU General Public License v3.0
32 stars 27 forks source link

First digit should be 0 #1

Closed rjpearce closed 4 years ago

ashleypittman commented 4 years ago

I'm happy to land this but I haven't seen it being an issue my end, does it solve your problem? The Myenergi team recently put up some documentation of this endpoint (after this code was written but before it was public) and that says to use a leading zero, but doesn't indicate that it's significant.

https://myenergi.info/viewtopic.php?p=13031#p13031

ashleypittman commented 4 years ago

I've just added better day-of-week handing to setting timers which means this doesn't apply any more, but it now sets this number to zero correctly.