Add Config flow to august (#32133)

* Add battery sensors for August devices

* Additional tests and cleanup in prep for config flow
  and device registry

* pylint

* update name for new style guidelines - https://developers.home-assistant.io/docs/development_guidelines/#use-new-style-string-formatting

* Config Flow for august push

* Update homeassistant/components/august/__init__.py

Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>

* Address review items

* Update tests

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
J. Nick KostonandPaulus Schoutsen authored and GitHub committed 2020-02-25 10:18:15 -08:00
1 parent 900714a3ee
commit 2925e0617c
25 files changed
+1686 -444

No files matched your search

@@ -0,0 +1,32 @@
{
"config" : {
"error" : {
"unknown" : "Unexpected error",
"cannot_connect" : "Failed to connect, please try again",
"invalid_auth" : "Invalid authentication"
},
"abort" : {
"already_configured" : "Account is already configured"
},
"step" : {
"validation" : {
"title" : "Two factor authentication",
"data" : {
"code" : "Verification code"
},
"description" : "Please check your {login_method} ({username}) and enter the verification code below"
},
"user" : {
"description" : "If the Login Method is 'email', Username is the email address. If the Login Method is 'phone', Username is the phone number in the format '+NNNNNNNNN'.",
"data" : {
"timeout" : "Timeout (seconds)",
"password" : "Password",
"username" : "Username",
"login_method" : "Login Method"
},
"title" : "Setup an August account"
}
},
"title" : "August"
}
}