* Add discovery support to synology_dsm * Remove debug * black * Fix mocks * Merge strings * Move placeholders * add missing placeholders * reorder * use constants in test * Remove CONF_NAME (only displayed in discovery now) * test reduction * Shorten long name * Use name for name but NOT for unique_id, remove CONF_NAME from yaml config * Use Synology for the name for now, hopefully we can use the hostname later * lint * Remove name from strings * remove =None * show login errors at username field * Update tests/components/synology_dsm/test_config_flow.py Co-Authored-By: Quentame <polletquentin74@me.com> * Update tests/components/synology_dsm/test_config_flow.py Co-Authored-By: Quentame <polletquentin74@me.com> * Update homeassistant/components/synology_dsm/const.py Co-authored-by: Quentame <polletquentin74@me.com>
38 lines
1.0 KiB
JSON
38 lines
1.0 KiB
JSON
{
|
|
"config": {
|
|
"title": "Synology DSM",
|
|
"flow_title": "Synology DSM {name} ({host})",
|
|
"step": {
|
|
"user": {
|
|
"title": "Synology DSM",
|
|
"data": {
|
|
"host": "Host",
|
|
"port": "Port (Optional)",
|
|
"ssl": "Use SSL/TLS to connect to your NAS",
|
|
"api_version": "DSM version",
|
|
"username": "Username",
|
|
"password": "Password"
|
|
}
|
|
},
|
|
"link": {
|
|
"title": "Synology DSM",
|
|
"description": "Do you want to setup {name} ({host})?",
|
|
"data": {
|
|
"ssl": "Use SSL/TLS to connect to your NAS",
|
|
"api_version": "DSM version",
|
|
"username": "Username",
|
|
"password": "Password",
|
|
"port": "Port (Optional)"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"login": "Login error: please check your username & password",
|
|
"unknown": "Unknown error: please retry later or an other configuration"
|
|
},
|
|
"abort": {
|
|
"already_configured": "Host already configured"
|
|
}
|
|
}
|
|
}
|