mirror of
https://github.com/home-assistant/core
synced 2024-09-03 08:14:07 +02:00
![Allen Porter](/assets/img/avatar_default.png)
* Support multiple config entries at once * Add test coverage for multiple config entries * Add support for multiple config entries to google config flow * Clear hass.data when unloading config entry * Make google config flow defensive against reuse of the same account * Assign existing google config entries a unique id * Migrate entities to new unique id format * Support muliple accounts per oauth client id * Fix mypy typing errors * Hard fail to keep state consistent, removing graceful degredation * Remove invalid entity regsitry entries
45 lines
2.0 KiB
JSON
45 lines
2.0 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"pick_implementation": {
|
|
"title": "[%key:common::config_flow::title::oauth2_pick_implementation%]"
|
|
},
|
|
"reauth_confirm": {
|
|
"title": "[%key:common::config_flow::title::reauth%]",
|
|
"description": "The Google Calendar integration needs to re-authenticate your account"
|
|
},
|
|
"auth": {
|
|
"title": "Link Google Account"
|
|
}
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]",
|
|
"already_in_progress": "[%key:common::config_flow::abort::already_in_progress%]",
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"oauth_error": "[%key:common::config_flow::abort::oauth2_error%]",
|
|
"missing_configuration": "[%key:common::config_flow::abort::oauth2_missing_configuration%]",
|
|
"code_expired": "Authentication code expired or credential setup is invalid, please try again.",
|
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]",
|
|
"invalid_access_token": "[%key:common::config_flow::error::invalid_access_token%]"
|
|
},
|
|
"create_entry": {
|
|
"default": "[%key:common::config_flow::create_entry::authenticated%]"
|
|
},
|
|
"progress": {
|
|
"exchange": "To link your Google account, visit the [{url}]({url}) and enter code:\n\n{user_code}"
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"data": {
|
|
"calendar_access": "Home Assistant access to Google Calendar"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"application_credentials": {
|
|
"description": "Follow the [instructions]({more_info_url}) for [OAuth consent screen]({oauth_consent_url}) to give Home Assistant access to your Google Calendar. You also need to create Application Credentials linked to your Calendar:\n1. Go to [Credentials]({oauth_creds_url}) and click **Create Credentials**.\n1. From the drop-down list select **OAuth client ID**.\n1. Select **TV and Limited Input devices** for the Application Type.\n\n"
|
|
}
|
|
}
|