From 1c4a188e27b1094d038f08ca164e84f937337234 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 27 Oct 2026 17:58:38 +0000 Subject: [PATCH 1/2] Initial plan From da0859c92687e1980ecb4faeb3c91eb738b7b0ba Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 27 Oct 2026 17:59:50 +0000 Subject: [PATCH 2/2] Apply remaining changes Co-authored-by: gensyn <36128035+gensyn@users.noreply.github.com> --- coordinator.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/coordinator.py b/coordinator.py index e0ab169..d295145 100644 --- a/coordinator.py +++ b/coordinator.py @@ -368,6 +368,13 @@ async def _async_fetch_data(self) -> None: docker_create_available = await self._check_docker_create_available(options) + auto_update_due = ( + update_available + and options.get(CONF_AUTO_UPDATE, False) + and not self._in_auto_update + ) + auto_updating = auto_update_due and docker_create_available + _LOGGER.debug( "Container %s state: %s, update_available: %s", service, @@ -384,12 +391,13 @@ async def _async_fetch_data(self) -> None: "host": host, "docker_create_available": docker_create_available, }, - "update_available": update_available, + # Hide the update from the update entity while it is installed in the background. + "update_available": update_available and not auto_updating, "installed_image_id": old_image_id.strip(), "latest_image_id": new_image_id, } - if update_available and options.get(CONF_AUTO_UPDATE, False) and not self._in_auto_update: + if auto_update_due: self._in_auto_update = True try: self.set_pending_state("recreating")