mirror of
https://github.com/home-assistant/supervisor.git
synced 2026-05-08 17:08:36 +01:00
Add missing await in backup check (#3844)
This commit is contained in:
@@ -16,7 +16,7 @@ class CheckBackups(CheckBase):
|
||||
|
||||
async def run_check(self) -> None:
|
||||
"""Run check if not affected by issue."""
|
||||
if self.approve_check():
|
||||
if await self.approve_check():
|
||||
self.sys_resolution.create_issue(
|
||||
IssueType.NO_CURRENT_BACKUP,
|
||||
ContextType.SYSTEM,
|
||||
|
||||
Reference in New Issue
Block a user