ps: Add a global config object to Home Assistant

This commit is contained in:
Paulus Schoutsen committed 2015-03-18 23:02:58 -07:00
1 parent 569b15d790
commit 9b643d57f0
23 files changed
+224 -173

No files matched your search

+1 -1
View File
@@ -148,7 +148,7 @@ def setup(hass, config):
# Load built-in profiles and custom profiles
profile_paths = [os.path.join(os.path.dirname(__file__),
LIGHT_PROFILES_FILE),
hass.get_config_path(LIGHT_PROFILES_FILE)]
hass.config.get_config_path(LIGHT_PROFILES_FILE)]
profiles = {}
for profile_path in profile_paths: