Skip to content

[mitsubishi_cn105] Remote tempearture example to Cookbook#6694

Open
nagyrobi wants to merge 12 commits into
esphome:currentfrom
nagyrobi:mitsucn105_cook
Open

[mitsubishi_cn105] Remote tempearture example to Cookbook#6694
nagyrobi wants to merge 12 commits into
esphome:currentfrom
nagyrobi:mitsucn105_cook

Conversation

@nagyrobi
Copy link
Copy Markdown
Member

Description

Add an example how to implement a remote temperature sensor for mitsubishi_cn105 to Cookbook.

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 /src/content/docs/components/index.mdx when creating new documents for new components or cookbook.

New Component Images

If you are adding a new component to ESPHome, you can automatically generate a standardized black and white component name image for the documentation.

To generate a component image:

  1. Comment on this pull request with the following command, replacing component_name with your component name in lower_case format with underscores (e.g., bme280, sht3x, dallas_temp):

    @esphomebot generate image component_name
    
  2. The ESPHome bot will respond with a downloadable ZIP file containing the SVG image.

  3. Extract the SVG file and place it in the /public/images/ folder of this repository.

  4. Use the image in your component's index table entry in /src/content/docs/components/index.mdx.

Example: For a component called "DHT22 Temperature Sensor", use:

@esphomebot generate image dht22

Note: All images used in ImgTable components must be placed in /public/images/ as the component resolves them to absolute paths.

nagyrobi added 2 commits May 26, 2026 15:32
Added a note about the implications of overriding the internal sensor and provided a link to the remote temperature example.
@nagyrobi nagyrobi marked this pull request as draft May 26, 2026 13:39
@esphome esphome Bot added the current label May 26, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented May 26, 2026

Deploy Preview for esphome ready!

Name Link
🔨 Latest commit 6a017d5
🔍 Latest deploy log https://app.netlify.com/projects/esphome/deploys/6a183699a6e194000836b73c
😎 Deploy Preview https://deploy-preview-6694--esphome.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@nagyrobi nagyrobi marked this pull request as ready for review May 26, 2026 14:07
@nagyrobi
Copy link
Copy Markdown
Member Author

@crnjan @swoboda1337

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 26, 2026

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d5211c94-64f7-4e6d-a3b6-3e1c6854fe82

📥 Commits

Reviewing files that changed from the base of the PR and between a37ded0 and eeed1e4.

📒 Files selected for processing (1)
  • src/content/docs/cookbook/mitsubishi_cn105_remote_temp.mdx
💤 Files with no reviewable changes (1)
  • src/content/docs/cookbook/mitsubishi_cn105_remote_temp.mdx

Walkthrough

Adds a new cookbook page describing Mitsubishi CN105 remote temperature setup (examples and filters) and updates the CN105 component docs to reference and link to that cookbook.

Changes

Mitsubishi CN105 Remote Temperature Documentation

Layer / File(s) Summary
Remote temperature cookbook guide
src/content/docs/cookbook/mitsubishi_cn105_remote_temp.mdx
New page with MDX metadata and explanatory text about remote vs internal temperature, update cadence, forced updates, failure guarding; includes a full ESPHome YAML example (mitsubishi_cn105 climate, external sensor with nan filter and timeout, template select to switch sources via set_remote_temperature/clear_remote_temperature) and a "See Also" section.
Component docs cross-reference
src/content/docs/components/climate/mitsubishi_cn105.mdx
Adds a block-quoted reference to the new cookbook example and an extra "See Also" bullet linking to the cookbook page.

🎯 2 (Simple) | ⏱️ ~8 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title references the main change (adding a remote temperature example to the cookbook) but contains a typo ('tempearture' instead of 'temperature').
Description check ✅ Passed The description clearly states the purpose of the PR: adding an example for implementing a remote temperature sensor for mitsubishi_cn105 to the cookbook, which aligns with the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

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

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/content/docs/cookbook/mitsubishi_cn105_remote_temp.mdx`:
- Line 6: Fix the typos in the cookbook sentence starting "Mitsubishi heatpumps
equipped with the `CN105` internal connector..." by replacing "soensors" with
"sensors", "tempearture" with "temperature", "cam" with "can" and "aswell" with
"as well"; apply the same spelling corrections to the other occurrences
mentioned (also applies to the other instances at the same file locations).
Ensure the sentence reads naturally (e.g., "support reading temperature values
from remote sensors") and update all three occurrences consistently.
🪄 Autofix (Beta)

❌ Autofix failed (check again to retry)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3d3a8011-549e-4d3e-b4d2-c675732059ba

📥 Commits

Reviewing files that changed from the base of the PR and between 5a457a8 and dbf2d93.

📒 Files selected for processing (2)
  • src/content/docs/components/climate/mitsubishi_cn105.mdx
  • src/content/docs/cookbook/mitsubishi_cn105_remote_temp.mdx

Comment thread src/content/docs/cookbook/mitsubishi_cn105_remote_temp.mdx Outdated
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 26, 2026

Note

Autofix is a beta feature. Expect some limitations and changes as we gather feedback and continue to improve it.

An unexpected error occurred while generating fixes: Not Found - https://docs.github.com/rest/git/refs#get-a-reference

nagyrobi added 2 commits May 26, 2026 16:35
Corrected typos and improved clarity in the documentation regarding Mitsubishi CN105 remote temperature sensors.
Comment thread src/content/docs/cookbook/mitsubishi_cn105_remote_temp.mdx Outdated
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 28, 2026

Actionable comments posted: 0

Copy link
Copy Markdown
Contributor

@crnjan crnjan left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@nagyrobi nagyrobi enabled auto-merge (squash) May 28, 2026 13:36
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