We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9535981 commit 6a49422Copy full SHA for 6a49422
custom_components/solaredge_modbus_multi/hub.py
@@ -318,7 +318,7 @@ async def async_refresh_modbus_data(self) -> bool:
318
async with self._lock:
319
await self._async_init_solaredge()
320
321
- except ConnectionException as e:
+ except (ConnectionException, ModbusIOException) as e:
322
self.disconnect()
323
raise HubInitFailed(f"Setup failed: {e}")
324
0 commit comments