Add missing config flow translation key to script scaffold (#42621)

Add missing config key for no_url_available when generating new oauth2
config entry based integrations.  This was found in issue #42423 where
the nest integration was missing a string when a user had a misconfiguration.
pull/42628/head
Allen Porter 2020-10-30 01:51:22 -07:00 committed by GitHub
parent df552f08c3
commit b228ffc761
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ def _custom_tasks(template, info) -> None:
"abort": {
"missing_configuration": "[%key:common::config_flow::abort::oauth2_missing_configuration%]",
"authorize_url_timeout": "[%key:common::config_flow::abort::oauth2_authorize_url_timeout%]",
"no_url_available": "[%key:common::config_flow::abort::oauth2_no_url_available%]",
},
"create_entry": {
"default": "[%key:common::config_flow::create_entry::authenticated%]"