Skip to content

Document sensor.integration.set_value action#6208

Merged
swoboda1337 merged 4 commits intoesphome:nextfrom
JiriPrchal:patch-4
Mar 4, 2026
Merged

Document sensor.integration.set_value action#6208
swoboda1337 merged 4 commits intoesphome:nextfrom
JiriPrchal:patch-4

Conversation

@JiriPrchal
Copy link

@JiriPrchal JiriPrchal commented Mar 4, 2026

Added documentation for the sensor.integration.set_value action, including an example of setting a specific value for the integration sensor.

Description

Related issue (if applicable): fixes

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

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.

@esphome esphome bot added the current label Mar 4, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 4, 2026

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: 971be1fa-ce7a-4c01-b0ba-2ae8d4969b67

📥 Commits

Reviewing files that changed from the base of the PR and between 99c5658 and 5e296c6.

📒 Files selected for processing (1)
  • src/content/docs/components/sensor/integration.mdx

Walkthrough

Documentation was added for the sensor.integration.set_value Action in the sensor integration MDX file, including a description and a YAML usage example. No functional code or logic changes were made.

Changes

Cohort / File(s) Summary
Sensor Integration Documentation
src/content/docs/components/sensor/integration.mdx
Added documentation block for the sensor.integration.set_value Action with description, YAML usage example, and configuration options (id, value).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Document sensor.integration.set_value action' clearly and concisely describes the main change—adding documentation for a specific sensor action.
Description check ✅ Passed The description is related to the changeset, explaining that documentation for the sensor.integration.set_value action was added with a usage example.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


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
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 the current code and only fix it if needed.

Inline comments:
In `@src/content/docs/components/sensor/integration.mdx`:
- Line 56: The span element currently has an incorrect id
"sensor-integration-set__value_action" (double underscore); update the id to
"sensor-integration-set_value_action" to match the action name and restore
correct deep-linking behavior, ensuring any references to this anchor elsewhere
(e.g., links or tests) are updated to the new id as needed.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 7bd8c9a3-b0d4-4056-9599-588186803f7c

📥 Commits

Reviewing files that changed from the base of the PR and between 69d315e and 2c4cf48.

📒 Files selected for processing (1)
  • src/content/docs/components/sensor/integration.mdx

@netlify
Copy link

netlify bot commented Mar 4, 2026

Deploy Preview for esphome ready!

Name Link
🔨 Latest commit 5fbb284
🔍 Latest deploy log https://app.netlify.com/projects/esphome/deploys/69a83ac60399b800085b24b9
😎 Deploy Preview https://deploy-preview-6208--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.

esphome[bot]
esphome bot previously requested changes Mar 4, 2026
Copy link

@esphome esphome bot left a comment

Choose a reason for hiding this comment

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

As this is a feature matched with a PR in https://github.com/esphome/esphome, please target your PR to the next branch and rebase.

@esphome esphome bot marked this pull request as draft March 4, 2026 13:42
@esphome
Copy link

esphome bot commented Mar 4, 2026

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.

esphome[bot]
esphome bot previously requested changes Mar 4, 2026
Copy link

@esphome esphome bot left a comment

Choose a reason for hiding this comment

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

As this is a feature matched with a PR in https://github.com/esphome/esphome, please target your PR to the next branch and rebase.

@swoboda1337 swoboda1337 marked this pull request as ready for review March 4, 2026 13:55
Copilot AI review requested due to automatic review settings March 4, 2026 13:55
esphome[bot]
esphome bot previously requested changes Mar 4, 2026
Copy link

@esphome esphome bot left a comment

Choose a reason for hiding this comment

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

As this is a feature matched with a PR in https://github.com/esphome/esphome, please target your PR to the next branch and rebase.

@esphome esphome bot dismissed stale reviews from themself March 4, 2026 13:55

Stale

@swoboda1337 swoboda1337 changed the base branch from current to next March 4, 2026 13:56
JiriPrchal and others added 4 commits March 4, 2026 08:57
Added documentation for the `sensor.integration.set_value` action, including an example of setting a specific value for the integration sensor.
Updated the span ID for the sensor integration set value action.
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

Adds documentation for the sensor.integration.set_value action in the Integration Sensor docs, and also updates the documentation site’s tracked ESPHome release/changelog to 2026.2.4.

Changes:

  • Document sensor.integration.set_value action, including YAML example and configuration options.
  • Add a “Release 2026.2.4” section to the 2026.2 changelog.
  • Bump data/version.yaml release from 2026.2.3 to 2026.2.4.

Reviewed changes

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

File Description
src/content/docs/components/sensor/integration.mdx Adds a new section documenting the sensor.integration.set_value action and its options.
src/content/docs/changelog/2026.2.0.mdx Appends a new 2026.2.4 patch release entry.
data/version.yaml Updates the tracked release number to 2026.2.4.

You can also share your feedback on Copilot code review. Take the survey.

@swoboda1337 swoboda1337 merged commit 0786a72 into esphome:next Mar 4, 2026
5 checks passed
@JiriPrchal JiriPrchal deleted the patch-4 branch March 4, 2026 14:06
@github-actions github-actions bot locked and limited conversation to collaborators Mar 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants