Steffen Zimmermann 51eebb3906
Add config option to set timeout for wiffi devices (#35694)
* add config option to set timeout for wiffi devices

Wiffi devices allow to configure the update period (=
full_loop_minutes). The integration shall respect the configured update
period and therefore need a configuration for the timeout, too.

* Move timeout from config flow to option flow

* add test for option flow
2020-05-17 10:31:28 +02:00

26 lines
440 B
JSON

{
"config": {
"step": {
"user": {
"title": "Setup TCP server for WIFFI devices",
"data": {
"port": "Server Port"
}
}
},
"abort": {
"addr_in_use": "Server port already in use.",
"start_server_failed": "Start server failed."
}
},
"options": {
"step": {
"init": {
"data": {
"timeout": "Timeout (minutes)"
}
}
}
}
}