Skip to content

Commit 8da7b68

Browse files
committed
Fix for app initialization
1 parent 8b28c98 commit 8da7b68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

appdaemon/app_management.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ async def initialize_app(self, app_name: str):
268268
raise ade.BadInitializeMethod(f"Wrong number of arguments for initialize method of {class_name}")
269269

270270
# Call its initialize function
271+
await self.set_state(app_name, state="initializing")
271272
self.logger.info(f"Calling initialize() for {app_name}")
272273
if asyncio.iscoroutinefunction(init_func):
273274
await init_func()

0 commit comments

Comments
 (0)