Skip to content

add docs for added climate.pid. set_deadband_control_parameters_multipliers action and K[P,I,D]_DEADBAND_MULTIPLIER sensors in pid climate.#6266

Closed
ngolf wants to merge 1 commit intoesphome:currentfrom
ngolf:pid-runtime-deadband-actions-docs
Closed

add docs for added climate.pid. set_deadband_control_parameters_multipliers action and K[P,I,D]_DEADBAND_MULTIPLIER sensors in pid climate.#6266
ngolf wants to merge 1 commit intoesphome:currentfrom
ngolf:pid-runtime-deadband-actions-docs

Conversation

@ngolf
Copy link
Copy Markdown

@ngolf ngolf commented Mar 12, 2026

Update docs for esphome PR14730.

Add action climate.pid.set_deadband_control_parameters_multipliers

Add sensors K{P,I,D]_DEADBAND_MULTIPLIER

**Related issue (if applicable): NA

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.

…pliers action and K[P,I,D]_DEADBAND_MULTIPLIER sensors in pid climate.
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

Updates the PID Climate documentation to cover newly added runtime deadband PID multiplier controls and associated diagnostic sensor types, aligning docs with the corresponding ESPHome feature addition.

Changes:

  • Documented the new climate.pid.set_deadband_control_parameters_multipliers action, including usage example and configuration options.
  • Added KP_DEADBAND_MULTIPLIER, KI_DEADBAND_MULTIPLIER, and KD_DEADBAND_MULTIPLIER to the pid sensor type list.

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

Comment on lines 455 to +458
- `KD` - The current factor for the differential term of the PID controller.
- `KP_DEADBAND_MULTIPLIER` - The current deadband multiplier for the proportional term.
- `KI_DEADBAND_MULTIPLIER` - The current deadband multiplier for the integral term.
- `KD_DEADBAND_MULTIPLIER` - The current deadband multiplier for the differential term.
Copy link

Copilot AI Mar 12, 2026

Choose a reason for hiding this comment

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

The new KD_DEADBAND_MULTIPLIER bullet uses “differential term”, while earlier in this document the corresponding PID term is referred to as the “derivative term” (e.g., DERIVATIVE and the kd parameter). Consider using consistent terminology here (and for KD) to avoid confusing readers about whether this refers to the D/derivative term.

Suggested change
- `KD` - The current factor for the differential term of the PID controller.
- `KP_DEADBAND_MULTIPLIER` - The current deadband multiplier for the proportional term.
- `KI_DEADBAND_MULTIPLIER` - The current deadband multiplier for the integral term.
- `KD_DEADBAND_MULTIPLIER` - The current deadband multiplier for the differential term.
- `KD` - The current factor for the derivative term of the PID controller.
- `KP_DEADBAND_MULTIPLIER` - The current deadband multiplier for the proportional term.
- `KI_DEADBAND_MULTIPLIER` - The current deadband multiplier for the integral term.
- `KD_DEADBAND_MULTIPLIER` - The current deadband multiplier for the derivative term.

Copilot uses AI. Check for mistakes.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 12, 2026

Walkthrough

This pull request updates the PID controller documentation in the climate component, adding a new action for configuring runtime deadband control parameter multipliers and exposing three new sensor fields for reading current deadband multiplier values. Also includes a clarification note on when PID parameter updates take effect.

Changes

Cohort / File(s) Summary
Climate PID Documentation
src/content/docs/components/climate/pid.mdx
Added documentation for new climate.pid.set_deadband_control_parameters_multipliers action with YAML examples and field descriptions. Expanded RESULT sensor interface with three new deadband multiplier fields (KP_DEADBAND_MULTIPLIER, KI_DEADBAND_MULTIPLIER, KD_DEADBAND_MULTIPLIER). Added clarification that PID parameter updates apply on next computation cycle.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Suggested labels

has-parent, next

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main changes: adding documentation for a new PID climate action and related sensors for deadband multipliers.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description check ✅ Passed The pull request description clearly relates to the changeset, describing documentation updates for new PID climate features and referencing the corresponding esphome PR.

✏️ 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
📝 Coding Plan
  • Generate coding plan for human review comments

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

netlify bot commented Mar 12, 2026

Deploy Preview for esphome ready!

Name Link
🔨 Latest commit ea7256d
🔍 Latest deploy log https://app.netlify.com/projects/esphome/deploys/69b2ede4c015920008cf8d98
😎 Deploy Preview https://deploy-preview-6266--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
Copy Markdown

@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 12, 2026 16:51
@esphome
Copy link
Copy Markdown

esphome bot commented Mar 12, 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.

@ngolf ngolf closed this Mar 12, 2026
@github-actions github-actions bot locked and limited conversation to collaborators Mar 14, 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.

2 participants