Efergy not working

here apparently is an error in the sensor.py file:

this is the error message:

Logger: homeassistant.helpers.entity
Source: components/efergy/sensor.py:157
First occurred: 16:32:18 (10 occurrences)
Last logged: 16:34:18

Update for sensor.efergy_733914 fails
Update for sensor.per_device_usage fails
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 350, in async_update_ha_state
await self.async_device_update()
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 558, in async_device_update
raise exc
File “/usr/local/lib/python3.8/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/homeassistant/homeassistant/components/efergy/sensor.py”, line 157, in update
if self.sid == sensor[“sid”]:
TypeError: string indices must be integers

any help solving this issue would be appreciated