Fix issue causing blank passwords to no longer be accepted.

This commit is contained in:
andythigpen 2015-03-08 16:21:35 -05:00
parent af6407c1df
commit 399b433a06

View File

@ -111,7 +111,7 @@ def setup(hass, config=None):
if config is None or DOMAIN not in config:
config = {DOMAIN: {}}
api_password = str(config[DOMAIN].get(CONF_API_PASSWORD))
api_password = util.convert(config[DOMAIN].get(CONF_API_PASSWORD), str)
no_password_set = api_password is None