Pho3niX90 / solis_modbus

Home Assistant HACS integration for Solis inverters
26 stars 5 forks source link

Errors in Logs after updating again #79

Open miketarg opened 3 weeks ago

miketarg commented 3 weeks ago

Logger: homeassistant.config_entries Source: config_entries.py:594 First occurred: 3:20:22 PM (2 occurrences) Last logged: 3:21:47 PM

Error setting up entry Solis: 192.168.0.83 for solis_modbus Traceback (most recent call last): File "/config/custom_components/solis_modbus/modbus_controller.py", line 25, in connect raise _LOGGER.warning( TypeError: exceptions must derive from BaseException

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/solis_modbus/init.py", line 65, in async_setup_entry await controller.connect() File "/config/custom_components/solis_modbus/modbus_controller.py", line 32, in connect raise _LOGGER.error(f"Failed to connect to Modbus device. Will retry") TypeError: exceptions must derive from BaseException

Updated as the last ticket was closed as fixed but I am getting errors again and my inverter wont connect to HA.

miketarg commented 2 weeks ago

Hello, can you please take a look at this as I tried updating as you mentiond this had been fixed but it appears to be causing issues still, please can you let me know if you need any other information?

Pho3niX90 commented 18 hours ago

Will delve more deeply into this for the next version. The one released today should be better already