From 8fcf814eb6e050abb61d4033f2165d8d74196382 Mon Sep 17 00:00:00 2001 From: Ryan Kraus Date: Wed, 22 Apr 2015 21:07:23 -0400 Subject: [PATCH] Changed visbility property in configuration.yaml to a hash instead of a list of a single hash. --- homeassistant/bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/bootstrap.py b/homeassistant/bootstrap.py index e31a4bb66c7..a87deaa76d5 100644 --- a/homeassistant/bootstrap.py +++ b/homeassistant/bootstrap.py @@ -208,7 +208,7 @@ def process_ha_core_config(hass, config): if key in config: setattr(hass.config, attr, config[key]) - Entity.visibility.update(config.get('visibility', [{}])[0]) + Entity.visibility.update(config.get('visibility', {})) if CONF_TEMPERATURE_UNIT in config: unit = config[CONF_TEMPERATURE_UNIT]