From 00a1d9d1b05b6e6eab66ec60da7cf4a484dc9a04 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Wed, 21 May 2025 13:22:05 +0200 Subject: [PATCH] Improve comment explaining planned backup store version bump (#145368) --- homeassistant/components/backup/store.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/backup/store.py b/homeassistant/components/backup/store.py index 6472f8ae151..c220ab0731e 100644 --- a/homeassistant/components/backup/store.py +++ b/homeassistant/components/backup/store.py @@ -77,7 +77,10 @@ class _BackupStore(Store[StoredBackupData]): for agent in data["config"]["agents"]: data["config"]["agents"][agent]["retention"] = None - # Note: We allow reading data with major version 2. + # Note: We allow reading data with major version 2 in which the unused key + # data["config"]["schedule"]["state"] will be removed. The bump to 2 is + # planned to happen after a 6 month quiet period with no minor version + # changes. # Reject if major version is higher than 2. if old_major_version > 2: raise NotImplementedError