We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a25f5a commit c433f44Copy full SHA for c433f44
1 file changed
custom_components/plugwise_usb/config_flow.py
@@ -141,7 +141,7 @@ async def async_step_reconfigure(
141
errors: dict[str, str] = {}
142
reconfigure_entry = self._get_reconfigure_entry()
143
144
- if user_input:
+ if user_input is not None:
145
device_path = await self.hass.async_add_executor_job(
146
usb.get_serial_by_id, user_input.get(CONF_USB_PATH)
147
)
0 commit comments