mirror of
https://github.com/home-assistant/core.git
synced 2026-09-07 05:52:27 +01:00
92 lines
3.2 KiB
JSON
92 lines
3.2 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 Health data. 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."
|
|
},
|
|
"config": {
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]",
|
|
"already_in_progress": "[%key:common::config_flow::abort::already_in_progress%]",
|
|
"api_not_enabled": "The Google Health API is not enabled for your Google Cloud project. Enable it in the [Google Cloud Console]({url}), wait a few minutes for the change to propagate, then try again.",
|
|
"cannot_connect": "Failed to connect.",
|
|
"missing_configuration": "[%key:common::config_flow::abort::oauth2_missing_configuration%]",
|
|
"missing_profile_scope": "Missing required Google Health profile read permission. Please try again and select the right permission.",
|
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]",
|
|
"reconfigure_successful": "[%key:common::config_flow::abort::reconfigure_successful%]",
|
|
"wrong_account": "Wrong account: Please authenticate with the right account."
|
|
},
|
|
"create_entry": {
|
|
"default": "[%key:common::config_flow::create_entry::authenticated%]"
|
|
},
|
|
"step": {
|
|
"pick_implementation": {
|
|
"title": "[%key:common::config_flow::title::oauth2_pick_implementation%]"
|
|
},
|
|
"reauth_confirm": {
|
|
"description": "The Google Health integration needs to re-authenticate your account",
|
|
"title": "[%key:common::config_flow::title::reauth%]"
|
|
}
|
|
}
|
|
},
|
|
"entity": {
|
|
"sensor": {
|
|
"active_calories": {
|
|
"name": "Active calories"
|
|
},
|
|
"body_fat": {
|
|
"name": "Body fat"
|
|
},
|
|
"calories_consumed": {
|
|
"name": "Calories consumed"
|
|
},
|
|
"floors": {
|
|
"name": "Floors"
|
|
},
|
|
"hydration": {
|
|
"name": "Water intake"
|
|
},
|
|
"last_sync_time": {
|
|
"name": "Last sync time"
|
|
},
|
|
"resting_heart_rate": {
|
|
"name": "Resting heart rate"
|
|
},
|
|
"sleep_after_wakeup": {
|
|
"name": "Time after waking up"
|
|
},
|
|
"sleep_asleep": {
|
|
"name": "Time asleep"
|
|
},
|
|
"sleep_awake": {
|
|
"name": "Time awake"
|
|
},
|
|
"sleep_in_bed": {
|
|
"name": "Time in bed"
|
|
},
|
|
"sleep_to_fall_asleep": {
|
|
"name": "Time to fall asleep"
|
|
},
|
|
"steps": {
|
|
"name": "Steps",
|
|
"unit_of_measurement": "steps"
|
|
},
|
|
"total_calories": {
|
|
"name": "Total calories"
|
|
}
|
|
}
|
|
},
|
|
"exceptions": {
|
|
"auth_error": {
|
|
"message": "Authentication or permission error talking to Google Health."
|
|
},
|
|
"communication_error": {
|
|
"message": "Error communicating with Google Health."
|
|
},
|
|
"missing_profile_scope": {
|
|
"message": "Missing required Google Health profile read permission."
|
|
},
|
|
"oauth_error": {
|
|
"message": "OAuth2 implementation temporarily unavailable."
|
|
}
|
|
}
|
|
}
|