Azure Storage
此集成允许您使用 Azure 存储账户 与 Home Assistant 备份一起使用。
配置
此集成可通过 UI 配置。前往 设置 > 设备与服务 添加。
已知限制
- 目前仅支持具有默认 URL
storageaccountname.blob.core.windows.net的存储账户 - 由于仅支持基于密钥的身份验证,因此必须在您的存储账户中启用此功能。
移除集成
此集成遵循标准集成移除流程。无需额外步骤。
To remove an integration instance from Home Assistant
- Go to Settings > Devices & services and select the integration card.
- From the list of devices, select the integration instance you want to remove.
- Next to the entry, select the three-dot
menu. Then, select Delete.
故障排除
身份验证失败
检查您的存储账户是否允许 Shared Key 访问。
DNS 错误
您可能会遇到 aiodns.error.DNSError: (4, 'Domain name not found') 错误。
要解决此问题:
- 在 Home Assistant 中导航到 Settings → System → Network → DNS Servers
- 手动将备用 DNS 服务器设置为
1.1.1.1(Cloudflare)和8.8.8.8(Google)(或您喜欢的任何其他服务器)。这允许 Home Assistant 成功解析 Azure 域名。 - 重启 Home Assistant 以传播新设置。

