From d5c007f741dbc89edd858e085279e51d3c8e57a4 Mon Sep 17 00:00:00 2001 From: Crowbar Z Date: Thu, 29 Apr 2021 20:48:46 +0100 Subject: [PATCH] Fix default scan_interval type for config_flow --- custom_components/pioneer_async/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/pioneer_async/const.py b/custom_components/pioneer_async/const.py index 431c761..1854669 100755 --- a/custom_components/pioneer_async/const.py +++ b/custom_components/pioneer_async/const.py @@ -53,7 +53,7 @@ ) OPTIONS_DEFAULTS = { - CONF_SCAN_INTERVAL: DEFAULT_SCAN_INTERVAL, + CONF_SCAN_INTERVAL: DEFAULT_SCAN_INTERVAL.total_seconds(), CONF_TIMEOUT: DEFAULT_TIMEOUT, CONF_SOURCES: "{}", }