mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +00:00

* 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
26 lines
440 B
JSON
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)"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|