config watcher

This commit is contained in:
ari committed 2022-08-14 15:31:42 -04:00
1 parent 586f52ba56
commit 08af01dd11
12 files changed
+316 -124

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ def extract_automation_paths(
elif isinstance(value, IncludedYaml):
yield hass_config.root_path / value.path_str
elif isinstance(value, IncludedYamlDir):
yield from extract_files(hass_config.root_path / value.name)
yield hass_config.root_path / value.name
else:
logger.warning(f"found an invalid type in {key}!")
if not found: