Commit Graph

4 Commits (5e6bb15d1c1706e93b62ceff408dab6e12868fa7)

Author SHA1 Message Date
Rob MacKinnon 5e6bb15d1c Code review and PEP8 clean-ups
- PEP8 formating clean-up
- bluesleep.py: Applied re-use of dict objects to variables for
     readability/PEP8.
- bluesleep.py: Updated for loops on items method to keys method as
     value is unused.
- bluesleep.py::get_auth_key: Refactor for readability/PEP8.
- bluesleep.py::average_raw_data: Simplified code and str formatting.
- bluesleep.py::sleep_monitor_callback: Pulled `data[0]` tests to
     if-elif.
- bluesleep.py::connect: Removal of `break` and `continue`, 
     `initialize()` returning true will exit the loop.  No need to break
     or continue the loop from within a try-except.
- bluesleep.py::connect: Removal of magic value on.
- bluesleep.py::graph_animation: Updated axis formating
- miband.py: Reformat imports
2021-01-25 08:56:06 -08:00
Nate Schoolfield 28d4f5c26a Added 'time' to fieldname init 2021-01-24 13:08:50 -08:00
Nate Schoolfield b003ec408c Added timestamps to CSV logging 2021-01-24 13:04:28 -08:00
Nate Schoolfield a712460ce2 Resetting 2021-01-24 02:45:37 -08:00