From 11ca772ada22e818660c0e37cc39c0820df1843f Mon Sep 17 00:00:00 2001 From: Mike Degatano Date: Tue, 26 Nov 2024 03:08:12 -0500 Subject: [PATCH] Disable backup complete ws message (#5452) --- supervisor/homeassistant/websocket.py | 2 +- tests/backups/test_manager.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/supervisor/homeassistant/websocket.py b/supervisor/homeassistant/websocket.py index 74d18c253db..e377015c8b9 100644 --- a/supervisor/homeassistant/websocket.py +++ b/supervisor/homeassistant/websocket.py @@ -34,7 +34,7 @@ WSType.SUPERVISOR_EVENT: "2021.2.4", WSType.BACKUP_START: "2022.1.0", WSType.BACKUP_END: "2022.1.0", - WSType.BACKUP_COMPLETE: "2024.11.99", + WSType.BACKUP_COMPLETE: "2025.11.99", } _LOGGER: logging.Logger = logging.getLogger(__name__) diff --git a/tests/backups/test_manager.py b/tests/backups/test_manager.py index 943931d6e32..e048968fd36 100644 --- a/tests/backups/test_manager.py +++ b/tests/backups/test_manager.py @@ -1983,7 +1983,7 @@ async def test_partial_backup_complete_ws_message( """Test WS message notifies core when a partial backup is complete.""" coresys.core.state = CoreState.RUNNING coresys.hardware.disk.get_disk_free_space = lambda x: 5000 - ha_ws_client.ha_version = AwesomeVersion("2024.12.0") + ha_ws_client.ha_version = AwesomeVersion("2025.12.0") # Test a partial backup job, backup_task = coresys.jobs.schedule_job( @@ -2015,7 +2015,7 @@ async def test_full_backup_complete_ws_message( """Test WS message notifies core when a full backup is complete.""" coresys.core.state = CoreState.RUNNING coresys.hardware.disk.get_disk_free_space = lambda x: 5000 - ha_ws_client.ha_version = AwesomeVersion("2024.12.0") + ha_ws_client.ha_version = AwesomeVersion("2025.12.0") # Test a full backup job, backup_task = coresys.jobs.schedule_job(