Trouble with HA integration

Hi,
Not sure if this is related to the product or someone else wrote the Home assistant integration for IotAWatt but i’m having problems.

Most of the time, I see a error, when its not in error, its unable to fetch the values (currently only trying to get the vref).

I also can’t see any outputs configured in the iosawatt interface.

here is a couple of log lines of the errors i’m facing:

Logger: homeassistant.components.iotawatt.coordinator
Source: components/iotawatt/coordinator.py:56
Integration: IoTaWatt ())
First occurred: 15:03:21 (5 occurrences)
Last logged: 15:14:22

Unexpected error fetching 172.20.10.34 data: ‘NoneType’ object has no attribute ‘status_code’

Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py”, line 187, in _async_refresh self.data = await self._async_update_data() File “/usr/src/homeassistant/homeassistant/components/iotawatt/coordinator.py”, line 56, in _async_update_data is_authenticated = await api.connect() File “/usr/local/lib/python3.9/site-packages/iotawattpy/iotawatt.py”, line 48, in connect if results.status_code == httpx.codes.OK: AttributeError: ‘NoneType’ object has no attribute ‘status_code’

and

Logger: homeassistant.components.iotawatt.coordinator
Source: components/iotawatt/coordinator.py:65
Integration: IoTaWatt )
First occurred: 15:04:42 (5 occurrences)
Last logged: 15:15:42

Unexpected error fetching 172.20.10.34 data: 0

Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py”, line 187, in _async_refresh self.data = await self._async_update_data() File “/usr/src/homeassistant/homeassistant/components/iotawatt/coordinator.py”, line 65, in _async_update_data await self.api.update(lastUpdate=self._last_run) File “/usr/local/lib/python3.9/site-packages/iotawattpy/iotawatt.py”, line 76, in update await self._refreshSensors(timespan, lastUpdate) File “/usr/local/lib/python3.9/site-packages/iotawattpy/iotawatt.py”, line 264, in _refreshSensors sensor.setValue(values[0][idx + 1]) KeyError: 0

Anyone can chime on this ?