mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 10:17:09 +00:00
Default backup encryption to true when updating only location retention (#143997)
This commit is contained in:
parent
ba712ed514
commit
93f4f14b2a
@ -202,7 +202,7 @@ class BackupConfig:
|
|||||||
if agent_id not in self.data.agents:
|
if agent_id not in self.data.agents:
|
||||||
old_agent_retention = None
|
old_agent_retention = None
|
||||||
self.data.agents[agent_id] = AgentConfig(
|
self.data.agents[agent_id] = AgentConfig(
|
||||||
protected=agent_config.get("protected", False),
|
protected=agent_config.get("protected", True),
|
||||||
retention=new_agent_retention,
|
retention=new_agent_retention,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user