mirror of
https://github.com/home-assistant/core.git
synced 2026-02-21 02:18:47 +00:00
84 lines
3.6 KiB
JSON
84 lines
3.6 KiB
JSON
{
|
|
"application_credentials": {
|
|
"description": "Follow the [instructions]({more_info_url}) for [OAuth consent screen]({oauth_consent_url}) to give Home Assistant access to your Google Assistant SDK. You also need to create Application Credentials linked to your account:\n1. Go to [Credentials]({oauth_creds_url}) and select **Create Credentials**.\n1. From the drop-down list select **OAuth client ID**.\n1. Select **Web application** for the Application Type.\n1. Add `{redirect_url}` under *Authorized redirect URI*."
|
|
},
|
|
"config": {
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]",
|
|
"already_in_progress": "[%key:common::config_flow::abort::already_in_progress%]",
|
|
"authorize_url_timeout": "[%key:common::config_flow::abort::oauth2_authorize_url_timeout%]",
|
|
"missing_configuration": "[%key:common::config_flow::abort::oauth2_missing_configuration%]",
|
|
"missing_credentials": "[%key:common::config_flow::abort::oauth2_missing_credentials%]",
|
|
"no_url_available": "[%key:common::config_flow::abort::oauth2_no_url_available%]",
|
|
"oauth_error": "[%key:common::config_flow::abort::oauth2_error%]",
|
|
"oauth_failed": "[%key:common::config_flow::abort::oauth2_failed%]",
|
|
"oauth_implementation_unavailable": "[%key:common::config_flow::abort::oauth2_implementation_unavailable%]",
|
|
"oauth_timeout": "[%key:common::config_flow::abort::oauth2_timeout%]",
|
|
"oauth_unauthorized": "[%key:common::config_flow::abort::oauth2_unauthorized%]",
|
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]",
|
|
"reconfigure_successful": "[%key:common::config_flow::abort::reconfigure_successful%]",
|
|
"user_rejected_authorize": "[%key:common::config_flow::abort::oauth2_user_rejected_authorize%]"
|
|
},
|
|
"create_entry": {
|
|
"default": "[%key:common::config_flow::create_entry::authenticated%]"
|
|
},
|
|
"step": {
|
|
"auth": {
|
|
"title": "Link Google Account"
|
|
},
|
|
"pick_implementation": {
|
|
"data": {
|
|
"implementation": "[%key:common::config_flow::data::implementation%]"
|
|
},
|
|
"data_description": {
|
|
"implementation": "[%key:common::config_flow::description::implementation%]"
|
|
},
|
|
"title": "[%key:common::config_flow::title::oauth2_pick_implementation%]"
|
|
},
|
|
"reauth_confirm": {
|
|
"description": "The Google Assistant SDK integration needs to re-authenticate your account",
|
|
"title": "[%key:common::config_flow::title::reauth%]"
|
|
}
|
|
}
|
|
},
|
|
"exceptions": {
|
|
"entry_not_loaded": {
|
|
"message": "Entry not loaded"
|
|
},
|
|
"grpc_error": {
|
|
"message": "Failed to communicate with Google Assistant"
|
|
},
|
|
"reauth_required": {
|
|
"message": "Credentials are invalid, re-authentication required"
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"data": {
|
|
"language_code": "Language code"
|
|
},
|
|
"data_description": {
|
|
"language_code": "Language for the Google Assistant SDK requests and responses."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"send_text_command": {
|
|
"description": "Sends a command as a text query to Google Assistant.",
|
|
"fields": {
|
|
"command": {
|
|
"description": "Command(s) to send to Google Assistant.",
|
|
"name": "Command"
|
|
},
|
|
"media_player": {
|
|
"description": "Name(s) of media player entities to play the Google Assistant's audio response on. This does not target the device for the command itself.",
|
|
"name": "Media player entity"
|
|
}
|
|
},
|
|
"name": "Send text command"
|
|
}
|
|
}
|
|
}
|