wills106 / homeassistant-solax-modbus

SolaX Power Modbus custom_component for Home Assistant (Supports some Ginlong Solis, Growatt, Sofar Solar, TIGO TSI & Qcells Q.Volt Hyb)
281 stars 85 forks source link

Fix #937: Automations stop and ignore 'continue_on_error': Thrown ModbusIOException not handled and converted to HomeAssistantError #938

Closed cschlipf closed 2 days ago

cschlipf commented 1 week ago

Close #937

Wrap ConnectionException and ModbusIOException in a HomeAssistantError

wills106 commented 6 days ago

With this extra logging does it give you any additional detail on what the error is?

cschlipf commented 6 days ago

With this extra logging does it give you any additional detail on what the error is?

No, it does not. It's just wrapping the thrown exception inside a HomeAssistantError, which can be optionally ignored by an automation.