Skip to content

Conversation

@kellerza
Copy link

Added instructions for installing ESPHome using the uv package manager.

Description:

Related issue (if applicable): fixes

Pull request in esphome with YAML changes (if applicable):

  • esphome/esphome#

Checklist:

  • I am merging into next because this is new documentation that has a matching pull-request in esphome as linked above.
    or

  • I am merging into current because this is a fix, change and/or adjustment in the current documentation and is not for a new component or feature.

  • Link added in /components/index.rst when creating new documents for new components or cookbook.

Added instructions for installing ESPHome using the uv package manager.
Copilot AI review requested due to automatic review settings October 14, 2025 20:26
Copy link
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 installation instructions for ESPHome using the uv package manager, providing users with an alternative cross-platform installation method that is faster and simpler than traditional pip-based installations.

  • Added a new section documenting uv as a cross-platform installation option
  • Included commands for both temporary execution and permanent tool installation
  • Provided upgrade instructions for maintaining the installation

@esphome esphome bot added the current label Oct 14, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 14, 2025

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

Walkthrough

Adds a new cross-platform "Cross-platform using uv" installation section to the ESPHome installation guide, describing how to install uv, run/install ESPHome via uvx or uv tool install esphome --with wheel,pip, verify with esphome version, and upgrade via uv tool upgrade esphome. Existing Windows/macOS/Linux instructions are retained.

Changes

Cohort / File(s) Summary
Docs: Installation Guide
content/guides/installing_esphome.md
Added "Cross-platform using uv" section at the top with instructions to install uv, run ESPHome with uvx, install as a tool via uv tool install esphome --with wheel,pip, ensure esphome is on PATH, verify with esphome version, and upgrade with uv tool upgrade esphome. Existing platform-specific Windows/macOS/Linux content left unchanged.

Sequence Diagram(s)

(No sequence diagram: changes are documentation-only and do not modify runtime control flow.)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Pay attention to clarity and accuracy of command examples and flags in content/guides/installing_esphome.md.
  • Verify no accidental formatting or Markdown syntax issues were introduced.

Suggested reviewers

  • clydebarrow

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (2 passed)
Check name Status Explanation
Title Check ✅ Passed The pull request title "Add installation guide for ESPHome with uv" is a concise, single-sentence description that accurately reflects the main change in the changeset. The raw summary confirms that a new "Cross-platform using uv" section was added to the installation guide with instructions for using uv to install and run ESPHome across Windows, macOS, and Linux. The title is specific enough to convey the primary change without being unnecessarily detailed.
Description Check ✅ Passed The pull request description "Added instructions for installing ESPHome using the uv package manager" is directly related to the changeset. The raw summary confirms that new installation instructions were added to the guide, specifically detailing how to install Python via uv, run esphome via uvx or as a tool, and perform upgrades. The description provides meaningful information about what was changed and aligns with the actual changes made to the documentation.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@netlify
Copy link

netlify bot commented Oct 14, 2025

Deploy Preview for esphome ready!

Name Link
🔨 Latest commit b791129
🔍 Latest deploy log https://app.netlify.com/projects/esphome/deploys/68fe78f926aaf800080d828a
😎 Deploy Preview https://deploy-preview-5481--esphome.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.

Copy link
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

♻️ Duplicate comments (1)
content/guides/installing_esphome.md (1)

21-21: Use uppercase PATH.

Refer to the PATH environment variable in uppercase: “Now esphome will be available on your PATH.”

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between edcf186 and 8fcaa61.

📒 Files selected for processing (1)
  • content/guides/installing_esphome.md (1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**

⚙️ CodeRabbit configuration file

  • Do not generate or add any sequence diagrams

Files:

  • content/guides/installing_esphome.md
🪛 LanguageTool
content/guides/installing_esphome.md

[grammar] ~6-~6: Use a hyphen to join words.
Context: ...stalling ESPHome Manually" --- ## Cross platform using uv [uv](https://docs.ast...

(QB_NEW_EN_HYPHEN)

kellerza and others added 3 commits October 14, 2025 23:09
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
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

🧹 Nitpick comments (1)
content/guides/installing_esphome.md (1)

26-26: Consider formatting the upgrade instruction as a shell code block for consistency.

The upgrade instruction is currently inline code within plain text, while the installation (lines 16–18) and verification (lines 22–24) steps use shell code blocks. Making this a separate code block would improve visual consistency and make the command easier to copy-paste.

-Upgrade to the latest version using `uv tool upgrade esphome`
+Upgrade to the latest version:
+
+```shell
+uv tool upgrade esphome
+```
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d480630 and bc61f70.

📒 Files selected for processing (1)
  • content/guides/installing_esphome.md (1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**

⚙️ CodeRabbit configuration file

  • Do not generate or add any sequence diagrams

Files:

  • content/guides/installing_esphome.md
🔇 Additional comments (1)
content/guides/installing_esphome.md (1)

12-12: The uv installation documentation link is valid and accessible.

The URL https://docs.astral.sh/uv/guides/install-python/ has been verified as a working, current documentation page (last updated July 17, 2025). No issues found.

@kellerza
Copy link
Author

@swoboda1337 - all good?

Copy link
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

🧹 Nitpick comments (1)
content/guides/installing_esphome.md (1)

26-26: Consider wrapping the upgrade command in a shell code block for consistency.

The upgrade instruction is currently inline text with backticks. The verification command above it (lines 22–24) uses a dedicated shell code block. For visual consistency and scannability, consider applying the same pattern:

-Upgrade to the latest version using `uv tool upgrade esphome`
+```shell
+uv tool upgrade esphome
+```
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 12917d3 and b791129.

📒 Files selected for processing (1)
  • content/guides/installing_esphome.md (1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**

⚙️ CodeRabbit configuration file

  • Do not generate or add any sequence diagrams

Files:

  • content/guides/installing_esphome.md
🔇 Additional comments (1)
content/guides/installing_esphome.md (1)

12-12: External documentation links verified as valid.

Both uv documentation links have been confirmed as currently accessible and up-to-date:

No link rot detected. The content is ready as-is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants