added simpler loader

This commit is contained in:
Ari Sosnovsky committed 2021-11-11 12:33:33 -05:00
1 parent d6adbb897d
commit c493c0a3d0
6 files changed
+118 -12

No files matched your search

+4
View File
@@ -186,3 +186,7 @@ class AutomationLoader:
def __len__(self):
return len(self.automations_data)
def save(self, index: int, auto: AutomationData):
if isinstance(self.automation_ref, IncludedYaml):
self.automation_ref.original_path