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
This commit is contained in:
Steffen Zimmermann authored and GitHub committed 2020-05-17 10:31:28 +02:00
1 parent d02bb70f0c
commit 51eebb3906
8 files changed
+112 -19

No files matched your search

@@ -12,5 +12,14 @@
"addr_in_use": "Server port already in use.",
"start_server_failed": "Start server failed."
}
},
"options": {
"step": {
"init": {
"data": {
"timeout": "Timeout (minutes)"
}
}
}
}
}