Use config flow references for data (#35529)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-05-12 10:50:44 -07:00
1 parent 1f71bdedab
commit dd32324e01
83 files changed
+526 -353

No files matched your search

+11 -4
View File
@@ -3,17 +3,24 @@
"step": {
"user": {
"title": "Sign-in with Ring account",
"data": { "username": "Username", "password": "Password" }
"data": {
"username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]"
}
},
"2fa": {
"title": "Two-factor authentication",
"data": { "2fa": "Two-factor code" }
"data": {
"2fa": "Two-factor code"
}
}
},
"error": {
"invalid_auth": "Invalid authentication",
"unknown": "Unexpected error"
},
"abort": { "already_configured": "Device is already configured" }
"abort": {
"already_configured": "Device is already configured"
}
}
}
}