Use common strings in esphome config flow (#41547)

This commit is contained in:
definitio 2020-10-09 16:28:54 +04:00 committed by GitHub
parent a9adc2a6f0
commit 0a1d9abe79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -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