Skip to content

Commit f97d118

Browse files
BenPrugithub-actions[bot]
authored andcommitted
chore: format code with ruff
1 parent 58c49d8 commit f97d118

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

custom_components/luxtronik/config_flow.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,12 +255,12 @@ async def async_step_dhcp(self, discovery_info: DhcpServiceInfo) -> FlowResult:
255255
)
256256
# Validate dhcp result with socket broadcast:
257257
heatpump_list = discover()
258-
broadcast_discover_ip = ''
258+
broadcast_discover_ip = ""
259259
for heatpump in heatpump_list:
260260
if heatpump[0] == discovery_info.ip:
261-
broadcast_discover_ip = heatpump[0]
262-
broadcast_discover_port = heatpump[1]
263-
if broadcast_discover_ip == '':
261+
broadcast_discover_ip = heatpump[0]
262+
broadcast_discover_port = heatpump[1]
263+
if broadcast_discover_ip == "":
264264
return self.async_abort(reason="no_devices_found")
265265
config = dict[str, Any]()
266266
config[CONF_HOST] = broadcast_discover_ip

0 commit comments

Comments
 (0)