1) Performed many pylint and flake8 fixes to clean up isy994 integration and hidden entities addition. 2) Added necessary code to allow groups to also be hidden. 3) Made most of the weather data from the isy994 component be hidden by default.
This commit is contained in:
1 parent
caed69d5ea
commit
b20424261c
6 files changed
+85
-30
No files matched your search
@@ -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', [{}])[0])
|
||||
|
||||
if CONF_TEMPERATURE_UNIT in config:
|
||||
unit = config[CONF_TEMPERATURE_UNIT]
|
||||
|
||||
Reference in new issue
Block a user