Skip to content

new HDMI-cec bus component#6073

Draft
JosVanEijndhoven wants to merge 8 commits intoesphome:nextfrom
JosVanEijndhoven:hdmi_cec
Draft

new HDMI-cec bus component#6073
JosVanEijndhoven wants to merge 8 commits intoesphome:nextfrom
JosVanEijndhoven:hdmi_cec

Conversation

@JosVanEijndhoven
Copy link

Description:

This component allows to connect an esphome device to the 'HDMI CEC' control bus.
On that bus, it can issue and receive commands to/from the HDMI-connected cluster of devices.
This includes commands to power devices on or off, adjust volume, select A/V inputs, etc.

Related issue (if applicable):
Earlier versions of this component, not yet integrated
in the esphome repo, has quite some users, but some implementation drawbacks.
These are resolved in a renewed version for integration, with its pending PR.
The component documentation is accordingly extended here.

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 /components/_index.md 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 /static/images/ folder of this repository.

  4. Use the image in your component's index table entry in /components/_index.md.

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

@esphomebot generate image dht22

esphome[bot]
esphome bot previously requested changes Feb 13, 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 February 13, 2026 08:14
@esphome
Copy link

esphome bot commented Feb 13, 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.

@JosVanEijndhoven JosVanEijndhoven changed the base branch from current to next February 13, 2026 08:17
@esphome esphome bot added the next label Feb 13, 2026
@esphome esphome bot dismissed their stale review February 13, 2026 08:17

Base branch has been corrected - dismissing previous review.

@netlify
Copy link

netlify bot commented Feb 13, 2026

Deploy Preview for esphome ready!

Name Link
🔨 Latest commit 39ce4d9
🔍 Latest deploy log https://app.netlify.com/projects/esphome/deploys/698edd65a191ce0008ad25e9
😎 Deploy Preview https://deploy-preview-6073--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.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 13, 2026

Caution

Review failed

Failed to post review comments

Walkthrough

ESPHome documentation and configuration schema updates introducing new components (CH423 I/O expander, HDMI-CEC bus, DLMS meter, SY6970 battery charger, Zigbee time), expanding existing component configurations with new options (update_interval, compression settings, certificate paths), reorganizing documentation structure for clarity, and updating the schema generation tooling to improve reference resolution.

Changes

Cohort / File(s) Summary
New Component Documentation
content/components/ch423.md, content/components/hdmi_cec/_index.md, content/components/sensor/dlms_meter.md, content/components/sensor/sy6970.md, content/components/time/zigbee.md, content/components/text_sensor/key_collector.md
Complete documentation files for new ESPHome components including I/O expander configuration, HDMI-CEC bus control, meter readings, battery management, zigbee time synchronization, and key sequence collection with text sensor publication.
Configuration Schema Tooling
script/schema_doc.py
Updated reference resolution paths for documentation file lookup, narrowed debug logging for optionality mismatches (excluding "id" property), and simplified title handling in schema processing.
Component Options Expansion
content/components/binary_sensor/status.md, content/components/captive_portal.md, content/components/display/nextion.md, content/components/ethernet.md, content/components/globals.md, content/components/http_request.md, content/components/sensor/ld2450.md, content/components/water_heater/template.md, content/components/zigbee.md
Added new optional configuration parameters: update_interval, compression defaults, queue management, trigger events, certificate paths, automatic number exposure, and lambda functions for template water heater state.
Filter and Sensor Documentation Updates
content/components/sensor/filter/clamp.md, content/components/sensor/filter/delta.md, content/components/sensor/_index.md, content/components/sensor/bl0942.md, content/components/sensor/bmp581.md, content/components/sensor/pmsx003.md, content/components/sensor/xiaomi_ble.md
Enhanced filter documentation with detailed constraints and examples, updated sensor calibration defaults, expanded sensor model coverage tables, and corrected MAC address quoting conventions.
Display Component Updates
content/components/display/epaper_spi.md, content/components/display/hub75.md, content/components/display/mipi_dsi.md, content/components/display/mipi_spi.md
Added new display chip entries, expanded board preset listings, introduced hardware revision guidance with visual references, and enhanced transform options documentation for display configuration.
Component Documentation Restructuring
content/components/cover/_index.md, content/components/climate/climate_ir.md, content/components/debug.md, content/components/key_collector.md, content/components/logger.md, content/components/select/_index.md, content/components/time/_index.md, content/components/web_server.md, content/components/esp32.md, content/components/esp32_ble_beacon.md
Reorganized sections with explicit Conditions and Triggers headings, added required configuration details, expanded platform support documentation, updated compression option ordering, and added TLS/VFS/IDF configuration options with examples.
Component Index and Metadata Updates
content/components/_index.md, all_automations.json
Added new hardware entries (HDMI-CEC, CH423), new sensor/component references (DLMS meter, SY6970, Zigbee time), updated icon references for Key Collector, and appended "ch423" to pin_providers array.
Changelog and Version Updates
content/changelog/2026.1.0.md, content/changelog/2026.2.0.md, content/changelog/_index.md, data/version.yaml
Added 2026.2.0 release changelog with comprehensive new features/components/breaking changes listing, corrected spelling of "advertisements", removed obsolete deprecation notes, updated redirect target, and bumped development version to 2026.3.0-dev.
Guide and Contributor Updates
content/guides/esp32_arduino_to_idf.md, content/guides/supporters.md
Generalized build time comparison statement removing specific performance claims, and added three new contributor entries with updated page timestamp.
Sensor-Specific Adjustments
content/components/sensor/dsmr.md, content/components/vbus.md
Relocated firmware version entities from sensor to text_sensor blocks with OBIS mapping updates, and added DeltaSol BS/2 DrainBack model with associated sensor and binary_sensor keys.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

  • PR #5959: Modifies content/components/climate/climate_ir.md for ESP-IDF (ESP32) framework support alignment on the Arduino-HeatpumpIR platform.
  • PR #5281: Touches script/schema_doc.py for documentation schema generation improvements (get_md_file_ref, set_schema_doc, process_schema).
  • PR #5677: Modifies content/components/display/mipi_dsi.md with M5Stack-Tab5-V2 board entries and hardware revision guidance.

Suggested labels

has-parent, next

Suggested reviewers

  • bdraco
🚥 Pre-merge checks | ✅ 3 | ❌ 1
❌ 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%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'new HDMI-cec bus component' clearly and concisely describes the main change: adding documentation for a new HDMI-CEC bus component.
Description check ✅ Passed The description explains the purpose of the component, its functionality, and references the related esphome code PR, directly relating to the changeset which adds HDMI-CEC documentation.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into next

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

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

Tip

Issue Planner is now in beta. Read the docs and try it out! 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.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments