added root path for ha
This commit is contained in:
1 parent
c493c0a3d0
commit
3c082608f8
4 files changed
+19
-4
No files matched your search
@@ -19,7 +19,7 @@ def load_hass_config(file_path: Path) -> HassConfig:
|
||||
"""
|
||||
HAY = HassYaml()
|
||||
data = HAY.load(file_path / "configuration.yaml")
|
||||
return HassConfig(HAY.secrets, data)
|
||||
return HassConfig(HAY.secrets, data, file_path / "configuration.yaml")
|
||||
|
||||
|
||||
def dump_yaml(obj: Any) -> str:
|
||||
|
||||
Reference in new issue
Block a user