Skip to content

Commit 648003c

Browse files
authored
Drop core_security resolution (#276)
The core_security resolution was relevant for Home Assistant Core versions below 2021.1.5. Supervisor only supports Core up to two years old, so this resolution got removed. This removes the resolution constant from the client library as well.
1 parent c56325f commit 648003c

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

aiohasupervisor/models/resolution.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ class CheckType(StrEnum):
150150

151151
ADDON_PWNED = "addon_pwned"
152152
BACKUPS = "backups"
153-
CORE_SECURITY = "core_security"
154153
DEPRECATED_ADDON = "deprecated_addon"
155154
DEPRECATED_ARCH_ADDON = "deprecated_arch_addon"
156155
DETACHED_ADDON_MISSING = "detached_addon_missing"

tests/fixtures/resolution_info.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@
3232
{ "enabled": true, "slug": "free_space" },
3333
{ "enabled": true, "slug": "detached_addon_removed" },
3434
{ "enabled": true, "slug": "docker_config" },
35-
{ "enabled": true, "slug": "addon_pwned" },
36-
{ "enabled": true, "slug": "core_security" }
35+
{ "enabled": true, "slug": "addon_pwned" }
3736
]
3837
}
3938
}

0 commit comments

Comments
 (0)