From f7abb8f33b62d7f3d15702bd42c752dcd090c71b Mon Sep 17 00:00:00 2001 From: Dmitry Mamontov Date: Fri, 8 Apr 2022 12:08:14 +0300 Subject: [PATCH] Fix flow --- custom_components/miwifi/config_flow.py | 4 ++++ custom_components/miwifi/manifest.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/custom_components/miwifi/config_flow.py b/custom_components/miwifi/config_flow.py index c63a681..16b6e23 100644 --- a/custom_components/miwifi/config_flow.py +++ b/custom_components/miwifi/config_flow.py @@ -126,6 +126,10 @@ async def async_step_user( vol.Required( CONF_SCAN_INTERVAL, default=DEFAULT_SCAN_INTERVAL ): vol.All(vol.Coerce(int), vol.Range(min=10)), + vol.Optional( + CONF_TIMEOUT, + default=DEFAULT_TIMEOUT, + ): vol.All(vol.Coerce(int), vol.Range(min=10)), } ), errors=errors, diff --git a/custom_components/miwifi/manifest.json b/custom_components/miwifi/manifest.json index 3c3fb12..a3fd84d 100644 --- a/custom_components/miwifi/manifest.json +++ b/custom_components/miwifi/manifest.json @@ -1,7 +1,7 @@ { "domain": "miwifi", "name": "MiWiFi", - "version": "2.2.0", + "version": "2.2.1", "documentation": "https://github.com/dmamontov/hass-miwifi/blob/main/README.md", "issue_tracker": "https://github.com/dmamontov/hass-miwifi/issues", "config_flow": true,