Changed visbility property in configuration.yaml to a hash instead of a list of a single hash.

pull/96/head
Ryan Kraus 2015-04-22 21:07:23 -04:00
parent 2b4c75543a
commit 8fcf814eb6
1 changed files with 1 additions and 1 deletions

View File

@ -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]