Skip to content

Commit 8152f79

Browse files
authored
Update config_flow.py
1 parent 3dc04f7 commit 8152f79

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

custom_components/apsystems_ecu_proxy/config_flow.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ async def async_step_init(self, user_input=None):
6767

6868

6969
if user_input is not None:
70-
ema_host = user_input["ema_host"]
71-
if await self.validate_ip(ema_host):
70+
if await self.validate_ip(user_input["ema_host"]):
7271
updated_options = current_options.copy()
7372
updated_options.update(user_input)
7473
return self.async_create_entry(title="", data=updated_options)

0 commit comments

Comments
 (0)