[dps310] Document DPS368 as fully supported drop-in replacement#6209
[dps310] Document DPS368 as fully supported drop-in replacement#6209kbx81 merged 2 commits intoesphome:currentfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughDocumentation updated to reference both Infineon DPS310 and DPS368: front-matter title/description and introductory text now mention DPS368, a note documents DPS368 as a drop-in replacement for DPS310, and the sensor listing label was changed to "DPS310/DPS368". Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@src/content/docs/components/sensor/dps310.mdx`:
- Around line 16-19: Replace the bolded note block starting with "**Note:** The
Infineon DPS368 is a drop-in replacement for the discontinued DPS310..." with a
GitHub-Flavored Markdown alert using the note alert syntax (> [!NOTE]) so the
block becomes a proper MDX alert; locate the exact text string "**Note:** The
Infineon DPS368..." in the sensor/dps310 documentation and convert it to the
alert form (> [!NOTE]) preserving the existing content about DPS368/DPS310
compatibility and recommendation.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 7071f302-67ce-4c7e-9b9a-cb477d1a57a2
📒 Files selected for processing (1)
src/content/docs/components/sensor/dps310.mdx
✅ Deploy Preview for esphome ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
The Infineon DPS368 is a drop-in successor to the discontinued DPS310 with identical register maps, I2C addresses, and calibration. Update the docs to clearly state DPS368 compatibility.
3619579 to
316a8f5
Compare
Updated note formatting for DPS368 sensor replacement information.
Description
The Infineon DPS310 barometric pressure sensor is discontinued ("Not for New Design"). The DPS368 is its drop-in successor with identical register maps, I²C addresses (0x77/0x76), and calibration procedures. The existing
dps310ESPHome component works with the DPS368 without any configuration changes, but the documentation doesn't mention this.This PR updates the DPS310 docs page to:
Checklist
I am merging into
nextbecause this is new documentation that has a matching pull-request in esphome as linked above.or
I am merging into
currentbecause this is a fix, change and/or adjustment in the current documentation and is not for a new component or feature.Link added in
/src/content/docs/components/index.mdxwhen creating new documents for new components or cookbook.