Traceback (most recent call last):


 "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 244, in _async_add_entity

await entity.async_device_update(warning=False)


 "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 327, in async_device_update

yield from self.hass.async_add_job(self.update)


 "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/lib/python3.6/site-packages/homeassistant/components/sensor/smappee.py", line 192, in update

consumption = data.get('records')[-1]
IndexError: list index out of range

Traceback (most recent call last):


 "/content/drive/My Drive/app/darts-master/cnn/test.py", line 103, in <module>

main() 


 "/content/drive/My Drive/app/darts-master/cnn/test.py", line 59, in main

utils.load(model, args.model_path)


 "/content/drive/My Drive/app/darts-master/cnn/utils.py", line 99, in load

model.load_state_dict(torch.load(model_path))


 "/usr/local/lib/python3.6/dist-packages/torch/serialization.py", line 381, in load

f = open(f, 'rb')

NotFoundError: [Errno 2] No such file or directory: 'EXP/model.pt'