Skip to content

Add missing WLED API fields to models#2045

Merged
frenck merged 1 commit intomainfrom
frenck-2026-0378
Apr 16, 2026
Merged

Add missing WLED API fields to models#2045
frenck merged 1 commit intomainfrom
frenck-2026-0378

Conversation

@frenck
Copy link
Copy Markdown
Owner

@frenck frenck commented Apr 16, 2026

Proposed Changes

Add fields from the WLED JSON API that were not yet represented in the models:

  • Leds: cct, rgbw, wv
  • Info: sync_toggle_receive
  • State: ledmap, main_segment_id
  • Segment: custom1/custom2/custom3, grouping, spacing, offset, mirror, mirror_y, reverse_y, transpose, option1/option2/option3, expand_1d, sound_simulation, set_id,
    start_y, stop_y
  • Nightlight: remaining

Also adds SoundSimulationType enum for the segment sound simulation field.

@frenck frenck added the new-feature New features or options. label Apr 16, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 16, 2026

Warning

Rate limit exceeded

@frenck has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 34 minutes and 48 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 34 minutes and 48 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: cff1bcb5-08a8-4354-ad6f-2f4ab9ccd245

📥 Commits

Reviewing files that changed from the base of the PR and between d5617a2 and bd9dca4.

📒 Files selected for processing (5)
  • pyproject.toml
  • src/wled/__init__.py
  • src/wled/const.py
  • src/wled/models.py
  • tests/__snapshots__/test_models.ambr
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch frenck-2026-0378

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.

@frenck frenck merged commit c1db550 into main Apr 16, 2026
30 checks passed
@frenck frenck deleted the frenck-2026-0378 branch April 16, 2026 19:25
@github-actions github-actions bot locked and limited conversation to collaborators Apr 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

new-feature New features or options.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant