Skip to content

Commit

Permalink
Fix default value for optional Sense configuration parameter (#18379)
Browse files Browse the repository at this point in the history
  • Loading branch information
claytonjn authored and balloob committed Nov 11, 2018
1 parent ddeeba2 commit 1f47693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/sense.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1f47693

Please sign in to comment.