mirror of
https://github.com/cyberjunky/home-assistant-garmin_connect.git
synced 2026-01-06 19:43:52 -05:00
Catch authentication errors and show them in the UI Limit last activity to 5 in attributes
38 lines
1.2 KiB
JSON
38 lines
1.2 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "Enter your Garmin Connect login information",
|
|
"data": {
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
}
|
|
},
|
|
"mfa": {
|
|
"title": "Enter your Garmin Connect MFA code",
|
|
"data": {
|
|
"mfa_code": "MFA code (6-digits)"
|
|
}
|
|
},
|
|
"reauth_confirm": {
|
|
"title": "[%key:component::garmin_connect::config::step::user::title%]",
|
|
"data": {
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"too_many_requests": "Too many requests, retry later",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]",
|
|
"invalid_mfa_code": "Invalid MFA code"
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]",
|
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]"
|
|
}
|
|
}
|
|
}
|