Merge pull request #54 from andythigpen/fix-blank-password
Issue with blank password
This commit is contained in:
commit
532e9f5de2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue