mirror of
https://github.com/home-assistant/core.git
synced 2026-09-28 07:54:43 +01:00
* Add deduplicate script * Fix forecast_solar incorrect key with space * Fix utf-8 * Do not create references to other arbitrary other integrations * Add commented code to only allow applying to referencing integrations * Tweak * Bug fix * Add command line arg for limit reference * never suggest to update common keys * Output of script * Apply suggestions from code review Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com> --------- Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
68 lines
1.9 KiB
JSON
68 lines
1.9 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"auth_app": {
|
|
"title": "Application credentials",
|
|
"description": "Application ID and secret code from [StarLine developer account](https://my.starline.ru/developer)",
|
|
"data": {
|
|
"app_id": "App ID",
|
|
"app_secret": "Secret"
|
|
}
|
|
},
|
|
"auth_user": {
|
|
"title": "User credentials",
|
|
"description": "StarLine account email and password",
|
|
"data": {
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
}
|
|
},
|
|
"auth_mfa": {
|
|
"title": "Two-factor authorization",
|
|
"description": "Enter the code sent to phone {phone_number}",
|
|
"data": {
|
|
"mfa_code": "SMS code"
|
|
}
|
|
},
|
|
"auth_captcha": {
|
|
"title": "Captcha",
|
|
"description": "{captcha_img}",
|
|
"data": {
|
|
"captcha_code": "Code from image"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"error_auth_app": "Incorrect application id or secret",
|
|
"error_auth_user": "Incorrect username or password",
|
|
"error_auth_mfa": "Incorrect code"
|
|
}
|
|
},
|
|
"services": {
|
|
"update_state": {
|
|
"name": "Update state",
|
|
"description": "Fetches the last state of the devices from the StarLine server.\n."
|
|
},
|
|
"set_scan_interval": {
|
|
"name": "Set scan interval",
|
|
"description": "Sets update frequency.",
|
|
"fields": {
|
|
"scan_interval": {
|
|
"name": "Scan interval",
|
|
"description": "Update frequency."
|
|
}
|
|
}
|
|
},
|
|
"set_scan_obd_interval": {
|
|
"name": "Set scan OBD interval",
|
|
"description": "Sets OBD info update frequency.",
|
|
"fields": {
|
|
"scan_interval": {
|
|
"name": "Scan interval",
|
|
"description": "[%key:component::starline::services::set_scan_interval::fields::scan_interval::description%]"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|