Changed visbility property in configuration.yaml to a hash instead of a list of a single hash.
parent
2b4c75543a
commit
8fcf814eb6
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue