This commit is contained in:
Home Assistant Version Control
2026-08-02 15:33:12 +00:00
parent 60dd13b52c
commit 2ce8792155
39 changed files with 1992 additions and 157 deletions
@@ -727,6 +727,10 @@ async def _async_update_held_by_component(
try:
integration = await async_get_integration(hass, DOMAIN)
if integration.version is None:
# None rather than an exception; "None" would then reach
# AwesomeVersion and compare as an ordinary string.
raise ValueError("the manifest carries no version")
running = str(integration.version)
except Exception:
# Same wide loader surface as _async_check_component_compat: advisory
@@ -884,6 +888,10 @@ async def _async_check_component_compat(
try:
integration = await async_get_integration(hass, DOMAIN)
if integration.version is None:
# None rather than an exception; "None" would then reach
# AwesomeVersion and compare as an ordinary string.
raise ValueError("the manifest carries no version")
own = str(integration.version)
except Exception:
# The loader legitimately raises a wide, varied surface