Add config flow to transmission (#26434)
* Add config flow to transmission * Reworked code to add all sensors and switches * applied fixes * final touches * Add tests * fixed tests * fix get_api errors and entities availabilty update * update config_flows.py * fix pylint error * update .coveragerc * add codeowner * add test_options * fixed test_options
This commit is contained in:
1 parent
9b204ad162
commit
82b77c2d29
17 files changed
+723
-128
No files matched your search
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"config": {
|
||||
"title": "Transmission",
|
||||
"step": {
|
||||
"user": {
|
||||
"title": "Setup Transmission Client",
|
||||
"data": {
|
||||
"name": "Name",
|
||||
"host": "Host",
|
||||
"username": "User name",
|
||||
"password": "Password",
|
||||
"port": "Port"
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"title": "Configure Options",
|
||||
"data": {
|
||||
"scan_interval": "Update frequency"
|
||||
}
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
"wrong_credentials": "Wrong username or password",
|
||||
"cannot_connect": "Unable to Connect to host"
|
||||
},
|
||||
"abort": {
|
||||
"one_instance_allowed": "Only a single instance is necessary."
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"step": {
|
||||
"init": {
|
||||
"description": "Configure options for Transmission",
|
||||
"data": {
|
||||
"scan_interval": "Update frequency"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user