diff --git a/custom_components/xyscreens/config_flow.py b/custom_components/xyscreens/config_flow.py index 173deef..e54be24 100644 --- a/custom_components/xyscreens/config_flow.py +++ b/custom_components/xyscreens/config_flow.py @@ -122,7 +122,7 @@ async def validate_input_setup_serial( await test_serial_port(self.hass, serial_port) except serial.SerialException as ex: raise CannotConnect( - f"Unable to connect to the device {serial_port}: {ex}", ex + f"Unable to connect to the device {serial_port}: {ex}" ) from ex # Return title, data and options