Skip to content

Commit

Permalink
Disable backup complete ws message
Browse files Browse the repository at this point in the history
  • Loading branch information
mdegat01 committed Nov 25, 2024
1 parent d11d59d commit f758306
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion supervisor/homeassistant/websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down
4 changes: 2 additions & 2 deletions tests/backups/test_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -1981,7 +1981,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(
Expand Down Expand Up @@ -2013,7 +2013,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(
Expand Down

0 comments on commit f758306

Please sign in to comment.