self['average'] = 0
self['sum'] = 0
self['unit'] = 'units'
+ self['stat_list']=[]
# stat_list is a list of dicts
# [ {'timestamp': datetime, 'value': value} ]
def __init__(self):
pass
- def get_meter(self, meter_name, credentials):
+ def get_meter(self, meter_name, obj, pk, credentials=None):
pass