added simpler loader
This commit is contained in:
1 parent
d6adbb897d
commit
c493c0a3d0
6 files changed
+118
-12
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user