Skip to content

Commit

Permalink
fix for not having a sequence config
Browse files Browse the repository at this point in the history
  • Loading branch information
jsl12 committed Feb 1, 2025
1 parent d0f53fe commit 953de5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion appdaemon/app_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,8 @@ async def safe_import(self: "AppManagement"):
await safe_import(self)

async def _init_sequences(self):
await self.AD.sequences.add_sequences(self.sequence_config)
if self.sequence_config is not None:
await self.AD.sequences.add_sequences(self.sequence_config)

def apps_per_module(self, module_name: str) -> Set[str]:
"""Finds which apps came from a given module name.
Expand Down

0 comments on commit 953de5f

Please sign in to comment.