From 84294f286fd2565b31a4c10a850be8ddff8fe55e Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Tue, 24 Nov 2020 12:51:16 +0000 Subject: [PATCH] Add unhealthy if update fails on startup --- supervisor/core.py | 1 + 1 file changed, 1 insertion(+) diff --git a/supervisor/core.py b/supervisor/core.py index 5b7cbb6a8..0a5707061 100644 --- a/supervisor/core.py +++ b/supervisor/core.py @@ -162,6 +162,7 @@ class Core(CoreSysAttributes): "Can't update Supervisor! This will break some Add-ons or affect " "future version of Home Assistant!" ) + self.sys_resolution.unhealthy = UnhealthyReason.SUPERVISOR self.sys_capture_exception(err) # Start addon mark as initialize