Files
core/homeassistant/components/synology_dsm/strings.json
T
Scotte Zinn 95563e04e8 Allow synology_dsm configuration to specify a host name (#36305)
* Allow configuration to specify a host name.

This will default to "synology", so the sensors would be named
sensor.synology_... which is the original implementation.

By specifying a name, which is required for multiple synology hosts,
you can then have sensor.hostA_... and sensor.hostB_...

* Get the base name for the sensors from the Synology DSM hostname

* Don't need the name for the config

* Added missing import

* Fixed another typo

* Removed definition of unused BASE_NAME

* Removed end of line to revert

* Moved for ordering
2020-06-03 13:01:13 +02:00

53 lines
1.6 KiB
JSON

{
"config": {
"flow_title": "Synology DSM {name} ({host})",
"step": {
"user": {
"title": "Synology DSM",
"data": {
"host": "[%key:common::config_flow::data::host%]",
"port": "[%key:common::config_flow::data::port%]",
"ssl": "Use SSL/TLS to connect to your NAS",
"username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]"
}
},
"2sa": {
"title": "Synology DSM: two-step authentication",
"data": {
"otp_code": "Code"
}
},
"link": {
"title": "Synology DSM",
"description": "Do you want to setup {name} ({host})?",
"data": {
"ssl": "Use SSL/TLS to connect to your NAS",
"username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]",
"port": "[%key:common::config_flow::data::port%]"
}
}
},
"error": {
"connection": "Connection error: please check your host, port & ssl",
"login": "Login error: please check your username & password",
"missing_data": "Missing data: please retry later or an other configuration",
"otp_failed": "Two-step authentication failed, retry with a new pass code",
"unknown": "Unknown error: please check logs to get more details"
},
"abort": {
"already_configured": "Host already configured"
}
},
"options": {
"step": {
"init": {
"data": {
"scan_interval": "Minutes between scans"
}
}
}
}
}