Adjust zha comment to be readable (#55330)

This commit is contained in:
J. Nick Koston 2021-08-27 09:01:26 -05:00 committed by GitHub
parent adab367f0e
commit cc857abfd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,9 +145,9 @@ class ZhaFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
if user_input is not None: if user_input is not None:
auto_detected_data = await detect_radios(self._device_path) auto_detected_data = await detect_radios(self._device_path)
if auto_detected_data is None: if auto_detected_data is None:
# This probably will not happen how they have # This path probably will not happen now that we have
# have very specific usb matching, but there could # more precise USB matching unless there is a problem
# be a problem with the device # with the device
return self.async_abort(reason="usb_probe_failed") return self.async_abort(reason="usb_probe_failed")
return self.async_create_entry( return self.async_create_entry(
title=self._title, title=self._title,