From b5a399aa3accd0d249f55a798fb3422b964142a5 Mon Sep 17 00:00:00 2001 From: Mike Degatano Date: Tue, 28 May 2024 16:56:50 -0400 Subject: [PATCH] Fix addon in wrong state after restore --- supervisor/addons/addon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervisor/addons/addon.py b/supervisor/addons/addon.py index fac2536b433..3cf66fd6396 100644 --- a/supervisor/addons/addon.py +++ b/supervisor/addons/addon.py @@ -1343,11 +1343,11 @@ def _restore_data(): ) raise AddonsError() from err + finally: # Is add-on loaded if not self.loaded: await self.load() - finally: # Run add-on if data[ATTR_STATE] == AddonState.STARTED: wait_for_start = await self.start()