Skip to content

Instantly share code, notes, and snippets.

@bonnieking
Last active December 17, 2015 05:49
Show Gist options
  • Save bonnieking/5560939 to your computer and use it in GitHub Desktop.
Save bonnieking/5560939 to your computer and use it in GitHub Desktop.
for history in sensorhistories.sensorhistories:
wattsused += history.avgwattover5min()
whused += history.dayswatthr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment