Fixed http being too strict on the api_password config

pull/48/head
theolind 2015-03-08 08:41:28 +01:00
parent 43f0014200
commit 0f1307cd81
1 changed files with 1 additions and 1 deletions

View File

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