mirror of
https://github.com/home-assistant/core
synced 2024-09-03 08:14:07 +02:00
![Garrett](/assets/img/avatar_default.png)
* Add 2FA support for Subaru integration setup * Update config flow to abort with 2FA request fail
62 lines
2.2 KiB
JSON
62 lines
2.2 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "Subaru Starlink Configuration",
|
|
"description": "Please enter your MySubaru credentials\nNOTE: Initial setup may take up to 30 seconds",
|
|
"data": {
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"password": "[%key:common::config_flow::data::password%]",
|
|
"country": "Select country"
|
|
}
|
|
},
|
|
"two_factor": {
|
|
"title": "Subaru Starlink Configuration",
|
|
"description": "Two factor authentication required",
|
|
"data": {
|
|
"contact_method": "Please select a contact method:"
|
|
}
|
|
},
|
|
"two_factor_validate": {
|
|
"title": "Subaru Starlink Configuration",
|
|
"description": "Please enter validation code received",
|
|
"data": {
|
|
"validation_code": "Validation code"
|
|
}
|
|
},
|
|
"pin": {
|
|
"title": "Subaru Starlink Configuration",
|
|
"description": "Please enter your MySubaru PIN\nNOTE: All vehicles in account must have the same PIN",
|
|
"data": {
|
|
"pin": "PIN"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"incorrect_pin": "Incorrect PIN",
|
|
"bad_pin_format": "PIN should be 4 digits",
|
|
"two_factor_request_failed": "Request for 2FA code failed, please try again",
|
|
"bad_validation_code_format": "Validation code should be 6 digits",
|
|
"incorrect_validation_code": "Incorrect validation code"
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]",
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]"
|
|
}
|
|
},
|
|
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"title": "Subaru Starlink Options",
|
|
"description": "When enabled, vehicle polling will send a remote command to your vehicle every 2 hours to obtain new sensor data. Without vehicle polling, new sensor data is only received when the vehicle automatically pushes data (normally after engine shutdown).",
|
|
"data": {
|
|
"update_enabled": "Enable vehicle polling"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|