Skip to content

Commit c433f44

Browse files
committed
Line up format with similar lines
1 parent 7a25f5a commit c433f44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

custom_components/plugwise_usb/config_flow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ async def async_step_reconfigure(
141141
errors: dict[str, str] = {}
142142
reconfigure_entry = self._get_reconfigure_entry()
143143

144-
if user_input:
144+
if user_input is not None:
145145
device_path = await self.hass.async_add_executor_job(
146146
usb.get_serial_by_id, user_input.get(CONF_USB_PATH)
147147
)

0 commit comments

Comments
 (0)