mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +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:
|
||||
old_agent_retention = None
|
||||
self.data.agents[agent_id] = AgentConfig(
|
||||
protected=agent_config.get("protected", False),
|
||||
protected=agent_config.get("protected", True),
|
||||
retention=new_agent_retention,
|
||||
)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user