Fix default value for optional Sense configuration parameter (#18379)

pull/18481/head
Clayton Nummer 2018-11-11 16:55:45 -05:00 committed by Paulus Schoutsen
parent 2aa2233d9b
commit b8ddbc3fdb
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ CONFIG_SCHEMA = vol.Schema({
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)