jonlives/jawboneup_to_graphite — pull request #4 by RyanFrantz (2013-12-17 14:21:54+00:00)
Title: Updated the script to support multiple sleep periods.

* Removed the call to flatten the data as it would result in awake periods between sleep periods to appear to be joined in Graphite graphs instead of being separated.
* This would happen when the API returned more than one sleep period.
* This will also be useful in cases where the Jawbone wearer takes a power nap!