render daily energy graphs

This commit is contained in:
Eric Hulburd
2016-02-13 16:49:32 -06:00
parent b13c33d83c
commit 6713e756c4
19 changed files with 367 additions and 191 deletions

View File

@@ -38,7 +38,7 @@ class EnergyDatum {
update(data){
var energy_datum = this,
house = power_datum.house;
house = energy_datum.house;
if (data.day) data.day = moment.tz(data.day, house.data.timezone);
extend(energy_datum.data, data);
}