Traceback (most recent call last):
File "", line 1, in
File "/Users/ihf/opt/anaconda3/lib/python3.7/site-packages/pyemvue/pyemvue.py", line 88, in get_devices_usage
if channel: channels.append(VueDeviceChannelUsage().from_json_dictionary(channel))
File "/Users/ihf/opt/anaconda3/lib/python3.7/site-packages/pyemvue/device.py", line 97, in from_json_dictionary
if 'value' in js['usage']:
TypeError: argument of type 'NoneType' is not iterable
I thought this used to work but has anyone else seen this?
Per the doc, After logging in and getting tokens, I am trying this:
channel_usage_list = vue.get_devices_usage(deviceGids, None, scale=Scale.DAY.value, unit=Unit.KWH.value)
Traceback (most recent call last): File "", line 1, in
File "/Users/ihf/opt/anaconda3/lib/python3.7/site-packages/pyemvue/pyemvue.py", line 88, in get_devices_usage
if channel: channels.append(VueDeviceChannelUsage().from_json_dictionary(channel))
File "/Users/ihf/opt/anaconda3/lib/python3.7/site-packages/pyemvue/device.py", line 97, in from_json_dictionary
if 'value' in js['usage']:
TypeError: argument of type 'NoneType' is not iterable
I thought this used to work but has anyone else seen this?