From 0f1307cd8188b54afa2aba72bef20fbf0ab4a524 Mon Sep 17 00:00:00 2001 From: theolind Date: Sun, 8 Mar 2015 08:41:28 +0100 Subject: [PATCH] Fixed http being too strict on the api_password config --- homeassistant/components/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/http.py b/homeassistant/components/http.py index 46ef38d7423..bf8ea3b21de 100644 --- a/homeassistant/components/http.py +++ b/homeassistant/components/http.py @@ -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