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.
2 parents 9535981 + 6a49422 commit 5312237Copy full SHA for 5312237
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