From 1f476936a27454dc51dc6d59082c6243b537d4fe Mon Sep 17 00:00:00 2001 From: Clayton Nummer Date: Sun, 11 Nov 2018 16:55:45 -0500 Subject: [PATCH] Fix default value for optional Sense configuration parameter (#18379) --- homeassistant/components/sense.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/sense.py b/homeassistant/components/sense.py index 3792e10e76186d..6e9204b80e1960 100644 --- a/homeassistant/components/sense.py +++ b/homeassistant/components/sense.py @@ -27,7 +27,7 @@ DOMAIN: vol.Schema({ vol.Required(CONF_EMAIL): cv.string, vol.Required(CONF_PASSWORD): cv.string, - vol.Optional(CONF_TIMEOUT, DEFAULT_TIMEOUT): cv.positive_int, + vol.Optional(CONF_TIMEOUT, default=DEFAULT_TIMEOUT): cv.positive_int, }) }, extra=vol.ALLOW_EXTRA)