From c4fe480b7b1700df6720b447f8223e51e6a5f843 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 5 Dec 2015 13:44:50 -0800 Subject: [PATCH] HTTP will not fail if no 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 81965179afe..f5e337ccf9c 100644 --- a/homeassistant/components/http.py +++ b/homeassistant/components/http.py @@ -50,7 +50,7 @@ _LOGGER = logging.getLogger(__name__) def setup(hass, config): """ Sets up the HTTP API and debug interface. """ - conf = config[DOMAIN] + conf = config.get(DOMAIN, {}) api_password = util.convert(conf.get(CONF_API_PASSWORD), str)