Skip to content

Waveshare ESP32-C5-Zero: Fix LED colour channels - #2984

Merged
J. Nick Koston (bdraco) merged 2 commits into
esphome:mainfrom
hacker1024:patch-1
Nov 5, 2026
Merged

J. Nick Koston (bdraco) merged 2 commits into
esphome:mainfrom
hacker1024:patch-1

Conversation

@hacker1024

Copy link
Copy Markdown
Contributor

What does this implement/fix?

On my ESP32-C5-Zero board, the LED channels are in "GRB" order.

Types of changes

  • Bugfix (non-breaking change which fixes an issue) — bugfix
  • New feature (non-breaking change which adds functionality) — new-feature
  • Enhancement to an existing feature — enhancement
  • Breaking change (fix or feature that would cause existing functionality to not work as expected) — breaking-change
  • Refactor (no behaviour change) — refactor
  • Documentation only — docs
  • Maintenance / chore — maintenance
  • CI / workflow change — ci
  • Dependencies bump — dependencies

Frontend coordination

  • No frontend change needed
  • Companion frontend PR: esphome/device-builder-frontend#

Checklist

  • The code change is tested and works locally.
  • Pre-commit hooks pass (ruff, codespell, yaml/json/python checks).
  • Tests have been added or updated under tests/ where applicable.
  • components.index.json / definitions/components/*.json have not been hand-edited (regenerate via script/sync_components.py if a sync is needed).
  • Architecture-level changes are reflected in docs/ARCHITECTURE.md and/or docs/API.md.

Copilot AI balanced review requested due to automatic review settings October 27, 2026 06:45
@github-actions github-actions Bot added the bugfix Bug fix label Oct 27, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

✅ Board catalog is in sync with the manifests.

@codspeed

codspeed Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 28 untouched benchmarks
⏩ 1 skipped benchmark1


Comparing hacker1024:patch-1 (372e5a6) with main (3265bc7)

Open in CodSpeed

Footnotes

  1. 1 benchmark was skipped, so the baseline result was used instead. If it was deleted from the codebase, click here and archive it to remove it from the performance reports. ↩

@codecov

codecov Bot commented Oct 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.76%. Comparing base (3265bc7) to head (372e5a6).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2984   +/-   ##
=======================================
  Coverage   99.76%   99.76%           
=======================================
  Files         300      300           
  Lines       26430    26430           
=======================================
  Hits        26368    26368           
  Misses         62       62           
Flag Coverage Δ
py3.12 99.73% <ø> (ø)
py3.14 99.61% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@esphbot

Copy link
Copy Markdown
Contributor

PR Review — Waveshare ESP32-C5-Zero: Fix LED colour channels

The LED colour-order fix is correct and the change is complete. It is ready to merge.

What the PR does well:

  • It changes the hand-curated manifest.yaml (channel_colors: GRB) as the source.
  • The generated board_bodies/waveshare-esp32-c5-zero.json and featured_components.index.json entries were rebuilt through the catalog sync step (commit 372e5a6 "Regenerate board catalog"), not edited by hand.
  • Each of the three files changes only the channel_colors value. Nothing else drifts.
  • A search of the repo turned up no other references to this board's channel order: boards.index.json has no channel_colors field, and no tests depend on it.
  • GRB is the normal native order for WS2812 parts. It also matches other boards in the catalog with WS2812 LEDs, such as unexpectedmaker_feathers3d.

No issues found. The author tested on their own board but did not tick the checklist's "tested locally" box. That is fine for a one-value data fix.



Checklist

  • No hardcoded secrets
  • Generated catalog files regenerated, not hand-edited, and consistent with the manifest
  • PR description matches the diff

Automated review by Kōan (Claude) HEAD=372e5a6 17s

@esphbot ESPHome Bot (esphbot) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Tip

No blocking issues found — ready to merge.

@bdraco
J. Nick Koston (bdraco) merged commit d3679e9 into esphome:main Nov 5, 2026
22 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bugfix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants