Use common strings in esphome config flow (#41547)
This commit is contained in:
parent
a9adc2a6f0
commit
0a1d9abe79
3 changed files with 4 additions and 4 deletions
|
@ -202,6 +202,6 @@ class EsphomeFlowHandler(ConfigFlow, domain=DOMAIN):
|
|||
await cli.connect(login=True)
|
||||
except APIConnectionError:
|
||||
await cli.disconnect(force=True)
|
||||
return "invalid_password"
|
||||
return "invalid_auth"
|
||||
|
||||
return None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue