mirror of
https://github.com/home-assistant/core.git
synced 2026-09-30 04:29:01 +01:00
* Issue warning if glances server version is 2 * Auto detect api version * Apply suggestions * Add HA version deprecation * Apply suggestions from code review * update config flow tests * Fix breaks in ha version --------- Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
40 lines
1.5 KiB
JSON
40 lines
1.5 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"host": "[%key:common::config_flow::data::host%]",
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"password": "[%key:common::config_flow::data::password%]",
|
|
"port": "[%key:common::config_flow::data::port%]",
|
|
"ssl": "[%key:common::config_flow::data::ssl%]",
|
|
"verify_ssl": "[%key:common::config_flow::data::verify_ssl%]"
|
|
},
|
|
"data_description": {
|
|
"host": "The hostname or IP address of the system running your Glances system monitor."
|
|
}
|
|
},
|
|
"reauth_confirm": {
|
|
"description": "The password for {username} is invalid.",
|
|
"data": {
|
|
"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%]"
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
|
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]"
|
|
}
|
|
},
|
|
"issues": {
|
|
"deprecated_version": {
|
|
"title": "Glances servers with version 2 is deprecated",
|
|
"description": "Glances servers with version 2 is deprecated and will not be supported in future versions of HA. It is recommended to update your server to Glances version 3 then reload the integration."
|
|
}
|
|
}
|
|
}
|