Skip to content

Add docs for Backblaze B2 integration#39169

Merged
c0ffeeca7 merged 19 commits into
home-assistant:nextfrom
hugo-vrijswijk:backblaze-docs
Oct 30, 2025
Merged

Add docs for Backblaze B2 integration#39169
c0ffeeca7 merged 19 commits into
home-assistant:nextfrom
hugo-vrijswijk:backblaze-docs

Conversation

@hugo-vrijswijk
Copy link
Copy Markdown
Contributor

@hugo-vrijswijk hugo-vrijswijk commented May 23, 2025

Proposed change

Add docs for new Backblaze B2 integration.

Type of change

  • Spelling, grammar or other readability improvements (current branch).
  • Adjusted missing or incorrect information in the current documentation (current branch).
  • Added documentation for a new integration I'm adding to Home Assistant (next branch).
  • Added documentation for a new feature I'm adding to Home Assistant (next branch).
  • Removed stale or deprecated documentation.

Additional information

Checklist

  • This PR uses the correct branch, based on one of the following:
    • I made a change to the existing documentation and used the current branch.
    • I made a change that is related to an upcoming version of Home Assistant and used the next branch.
  • The documentation follows the Home Assistant documentation standards.

Summary by CodeRabbit

  • Documentation
    • Added a new guide for setting up the Backblaze integration, including prerequisites, configuration steps, security notes, and known limitations.
  • Chores
    • Updated spell checker dictionary to recognize "Backblaze" as a valid term.

@home-assistant home-assistant Bot added has-parent This PR has a parent PR in another repo next This PR goes into the next branch labels May 23, 2025
@netlify
Copy link
Copy Markdown

netlify Bot commented May 23, 2025

Deploy Preview for home-assistant-docs ready!

Name Link
🔨 Latest commit 1349865
🔍 Latest deploy log https://app.netlify.com/projects/home-assistant-docs/deploys/6903187ae1cef4000866f8d0
😎 Deploy Preview https://deploy-preview-39169--home-assistant-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 23, 2025

📝 Walkthrough

Walkthrough

The update adds "Backblaze" to the spell checker configuration and introduces a new documentation file detailing the setup and usage of the Backblaze integration for Home Assistant backups. No changes to code logic or public APIs are present.

Changes

File(s) Change Summary
.vscode/cSpell.json Added "Backblaze" to the list of recognized words in the spell checker configuration.
source/_integrations/backblaze.markdown Added new documentation describing Backblaze integration setup, configuration, and limitations.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant HomeAssistantUI
    participant BackblazeB2

    User->>HomeAssistantUI: Start Backblaze Integration Setup
    HomeAssistantUI->>User: Prompt for Key ID, Application Key, Bucket Name, Prefix
    User->>HomeAssistantUI: Provide required credentials
    HomeAssistantUI->>BackblazeB2: Validate credentials and bucket access
    BackblazeB2-->>HomeAssistantUI: Confirm access
    HomeAssistantUI->>User: Complete integration setup
Loading

📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge Base: Disabled due to data retention organization setting

📥 Commits

Reviewing files that changed from the base of the PR and between fcd94c9 and 4185e44.

📒 Files selected for processing (1)
  • source/_integrations/backblaze.markdown (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • source/_integrations/backblaze.markdown

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai or @coderabbitai title anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge Base: Disabled due to data retention organization setting

📥 Commits

Reviewing files that changed from the base of the PR and between bf1cc03 and 873ca99.

📒 Files selected for processing (2)
  • .vscode/cSpell.json (1 hunks)
  • source/_integrations/backblaze_b2.markdown (1 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/backblaze_b2.markdown

[misspelling] ~39-~39: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ...reate an application key" %} To create a application key that can access the buc...

(EN_A_VS_AN)

🪛 GitHub Actions: home-assistant.io Test
source/_integrations/backblaze_b2.markdown

[warning] 76-76: Unexpected ordered list item value 1, expected 2 (remark-lint ordered-list-marker-value)


[warning] 77-77: Unexpected ordered list item value 1, expected 3 (remark-lint ordered-list-marker-value)


[warning] 81-81: Unexpected ordered list item value 1, expected 4 (remark-lint ordered-list-marker-value)

⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: Redirect rules - home-assistant-docs
  • GitHub Check: Header rules - home-assistant-docs
  • GitHub Check: Pages changed - home-assistant-docs
🔇 Additional comments (2)
.vscode/cSpell.json (1)

14-14: Approve addition of 'Backblaze' to spell checker dictionary
Adding "Backblaze" prevents the new integration name from being flagged as a spelling error and aligns with the documentation content.

source/_integrations/backblaze_b2.markdown (1)

39-39: Correct indefinite article for grammar
Use “an” before a vowel sound:
[ suggest_nitpick ]
Apply this diff:

-To create a application key that can access the bucket:
+To create an application key that can access the bucket:
🧰 Tools
🪛 LanguageTool

[misspelling] ~39-~39: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ...reate an application key" %} To create a application key that can access the buc...

(EN_A_VS_AN)

Comment thread source/_integrations/backblaze_b2.markdown
Comment thread source/_integrations/backblaze_b2.markdown Outdated
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

♻️ Duplicate comments (1)
source/_integrations/backblaze_b2.markdown (1)

7-7: Fix ha_iot_class metadata value
The ha_iot_class field should use the lowercase snake_case value as defined by Home Assistant’s metadata schema.
Apply this diff:

-ha_iot_class: Cloud Push
+ha_iot_class: cloud_push
🧹 Nitpick comments (2)
source/_integrations/backblaze_b2.markdown (2)

3-3: Use 'set up' (verb) instead of 'setup'
When used as a verb, "set up" should be two words.
Apply this diff:

- description: Instructions on how to setup a Backblaze B2 bucket to be used as a backup location.
+ description: Instructions on how to set up a Backblaze B2 bucket to be used as a backup location.

39-39: Correct article usage for 'application key'
Use "an" before words starting with a vowel sound.
Apply this diff:

- To create a application key that can access the bucket:
+ To create an application key that can access the bucket:
🧰 Tools
🪛 LanguageTool

[misspelling] ~39-~39: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ...reate an application key" %} To create a application key that can access the buc...

(EN_A_VS_AN)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge Base: Disabled due to data retention organization setting

📥 Commits

Reviewing files that changed from the base of the PR and between 873ca99 and a4ffc9b.

📒 Files selected for processing (1)
  • source/_integrations/backblaze_b2.markdown (1 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/backblaze_b2.markdown

[uncategorized] ~20-~20: You might be missing the article “an” here.
Context: ...tion requires an existing B2 bucket and application key that has access to that bucket. It ...

(AI_EN_LECTOR_MISSING_DETERMINER_AN)


[misspelling] ~39-~39: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ...reate an application key" %} To create a application key that can access the buc...

(EN_A_VS_AN)


[uncategorized] ~45-~45: A determiner appears to be missing. Consider inserting it.
Context: ...om the Choose a bucket dropdown. 5. Type of access should be Read and Write....

(AI_EN_LECTOR_MISSING_DETERMINER)

🪛 markdownlint-cli2 (0.17.2)
source/_integrations/backblaze_b2.markdown

75-75: Multiple headings with the same content
null

(MD024, no-duplicate-heading)

⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: Redirect rules - home-assistant-docs
  • GitHub Check: Header rules - home-assistant-docs
  • GitHub Check: Pages changed - home-assistant-docs

Comment thread source/_integrations/backblaze_b2.markdown Outdated
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

♻️ Duplicate comments (1)
source/_integrations/backblaze_b2.markdown (1)

7-7: ⚠️ Potential issue

Fix ha_iot_class metadata value
The ha_iot_class field must use lowercase snake_case as defined by Home Assistant’s metadata schema.

-ha_iot_class: Cloud Push
+ha_iot_class: cloud_push
🧹 Nitpick comments (3)
source/_integrations/backblaze_b2.markdown (3)

16-16: Improve phrasing to avoid redundancy
The sentence repeats "use" twice. Reword for clarity and conciseness:

-The **Backblaze B2** {% term integration %} allows you to use a [Backblaze B2](https://www.backblaze.com/cloud-storage) bucket for use with Home Assistant Backups.
+The **Backblaze B2** {% term integration %} enables you to use a [Backblaze B2](https://www.backblaze.com/cloud-storage) bucket as a backup location in Home Assistant.

20-20: Add missing article for grammatical correctness
Insert "an" before "application key" to fix the missing determiner:

-This integration requires an existing B2 bucket and application key that has access to that bucket.
+This integration requires an existing B2 bucket and an application key that has access to that bucket.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~20-~20: You might be missing the article “an” here.
Context: ...tion requires an existing B2 bucket and application key that has access to that bucket. It ...

(AI_EN_LECTOR_MISSING_DETERMINER_AN)


39-39: Fix missing "an" before "application key"
Change "a application key" to "an application key" in the details heading for proper grammar:

-To create a application key that can access the bucket:
+To create an application key that can access the bucket:
🧰 Tools
🪛 LanguageTool

[misspelling] ~39-~39: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ...reate an application key" %} To create a application key that can access the buc...

(EN_A_VS_AN)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge Base: Disabled due to data retention organization setting

📥 Commits

Reviewing files that changed from the base of the PR and between a4ffc9b and 7021ec1.

📒 Files selected for processing (1)
  • source/_integrations/backblaze_b2.markdown (1 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/backblaze_b2.markdown

[uncategorized] ~20-~20: You might be missing the article “an” here.
Context: ...tion requires an existing B2 bucket and application key that has access to that bucket. It ...

(AI_EN_LECTOR_MISSING_DETERMINER_AN)


[misspelling] ~39-~39: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ...reate an application key" %} To create a application key that can access the buc...

(EN_A_VS_AN)


[uncategorized] ~45-~45: A determiner appears to be missing. Consider inserting it.
Context: ...om the Choose a bucket dropdown. 5. Type of access should be Read and Write....

(AI_EN_LECTOR_MISSING_DETERMINER)

⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: Redirect rules - home-assistant-docs
  • GitHub Check: Header rules - home-assistant-docs
  • GitHub Check: Pages changed - home-assistant-docs
🔇 Additional comments (1)
source/_integrations/backblaze_b2.markdown (1)

75-82: List numbering now sequential
The ordered list markers correctly increment from 1 to 4, resolving the remark-lint warnings.

---
title: Backblaze B2
description: Instructions on how to setup a Backblaze B2 bucket to be used as a backup location.
ha_release: 2025.6
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this should be the target release date

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated it to 2025.7

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, that's correct. It's the release when the integration is merged into Core. so it might still change, depending on when it's merged. 😄

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's now updated to 2025.10

@hugo-vrijswijk hugo-vrijswijk changed the title Add docs for Backblaze B2 integration Add docs for Backblaze integration May 26, 2025
@c0ffeeca7 c0ffeeca7 added the new-integration This PR adds documentation for a new Home Assistant integration label May 27, 2025
Comment thread source/_integrations/backblaze.markdown Outdated
Comment thread source/_integrations/backblaze.markdown Outdated
Comment thread source/_integrations/backblaze.markdown Outdated
Comment thread source/_integrations/backblaze.markdown Outdated
Comment thread source/_integrations/backblaze.markdown Outdated
Comment thread source/_integrations/backblaze.markdown Outdated
Comment thread source/_integrations/backblaze.markdown Outdated
@home-assistant
Copy link
Copy Markdown

Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍

Learn more about our pull request process.

@home-assistant home-assistant Bot marked this pull request as draft May 27, 2025 05:38
hugo-vrijswijk and others added 7 commits September 25, 2025 09:53
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
@hugo-vrijswijk hugo-vrijswijk changed the title Add docs for Backblaze integration Add docs for Backblaze B2 integration Sep 25, 2025
@hugo-vrijswijk hugo-vrijswijk marked this pull request as ready for review September 25, 2025 07:59
Copilot AI review requested due to automatic review settings September 25, 2025 07:59
@home-assistant home-assistant Bot requested a review from c0ffeeca7 September 25, 2025 07:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds comprehensive documentation for the new Backblaze B2 integration, which enables users to configure Backblaze B2 cloud storage as a backup location for Home Assistant. The documentation provides complete setup instructions, security recommendations, and troubleshooting guidance.

Key changes:

  • Creates detailed integration documentation with prerequisites, configuration steps, and troubleshooting sections
  • Adds "Backblaze" to the spell checker dictionary to prevent false positives

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
source/_integrations/backblaze_b2.markdown Complete integration documentation including setup instructions, configuration parameters, and troubleshooting guidance
.vscode/cSpell.json Adds "Backblaze" to spell checker dictionary

Comment thread source/_integrations/backblaze_b2.markdown Outdated
Comment thread source/_integrations/backblaze_b2.markdown
@home-assistant home-assistant Bot closed this Oct 30, 2025
@c0ffeeca7 c0ffeeca7 reopened this Oct 30, 2025
Comment thread source/_integrations/backblaze_b2.markdown Outdated
Copy link
Copy Markdown
Contributor

@c0ffeeca7 c0ffeeca7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @hugo-vrijswijk 👍

@c0ffeeca7 c0ffeeca7 merged commit cae0ca3 into home-assistant:next Oct 30, 2025
7 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 31, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

has-parent This PR has a parent PR in another repo new-integration This PR adds documentation for a new Home Assistant integration next This PR goes into the next branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants