mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Changed visbility property in configuration.yaml to a hash instead of a list of a single hash.
This commit is contained in:
parent
2b4c75543a
commit
8fcf814eb6
@ -208,7 +208,7 @@ def process_ha_core_config(hass, config):
|
|||||||
if key in config:
|
if key in config:
|
||||||
setattr(hass.config, attr, config[key])
|
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:
|
if CONF_TEMPERATURE_UNIT in config:
|
||||||
unit = config[CONF_TEMPERATURE_UNIT]
|
unit = config[CONF_TEMPERATURE_UNIT]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user