Skip to content

feat(control): wave 1 — device basics (toggle, delay/duration, lock, relative dim, ping…) - #28

Merged
simons-plugins merged 1 commit into
mainfrom
feat/control-wave-1
Jul 22, 2026
Merged

feat(control): wave 1 — device basics (toggle, delay/duration, lock, relative dim, ping…)#28
simons-plugins merged 1 commit into
mainfrom
feat/control-wave-1

Conversation

@simons-plugins

Copy link
Copy Markdown
Owner

Closes #25. First of three control-wave PRs from the gap audit.

  • device_toggle + optional delay/duration — also added to device_turn_on/device_turn_off ("on for 5 minutes" now works)
  • device_enable (comm on/off), device_status_request (hardware refresh)
  • device_lock / device_unlock (lock-subtype relays, optional auto-relock duration)
  • device_brighten / device_dim (relative, optional by 1-100 + delay; duration explicitly rejected per IOM)
  • device_ping (round-trip ms), device_beep, device_reset_energy_accum
  • Optional kwargs are forwarded only when supplied; negatives/bools rejected.
  • 317 tests (15 new). 2026.3.0 → 2026.4.0. README table regenerated (45 tools).

🤖 Generated with Claude Code

https://claude.ai/code/session_01EYAGXd4bE9D9Z5kZeSHeo7

… relative dim, ping/beep/energy-reset

10 new device-control tools + delay/duration on turn_on/turn_off,
closing the highest-value gaps from the 2026-07-22 canonical-docs
audit. All thin wrappers over indigo.device.*/indigo.dimmer.* per
the existing control.py pattern; optional kwargs forwarded only when
supplied so Indigo's own defaults hold. 35 -> 45 tools.

Closes #25.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYAGXd4bE9D9Z5kZeSHeo7
@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@simons-plugins, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 41 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b1d1b785-116d-4603-b494-c0ec7d621831

📥 Commits

Reviewing files that changed from the base of the PR and between ec0dcd0 and 6c765e7.

📒 Files selected for processing (6)
  • CLAUDE.md
  • Indigo MCP Lite.indigoPlugin/Contents/Info.plist
  • Indigo MCP Lite.indigoPlugin/Contents/Server Plugin/tools/control.py
  • README.md
  • pyproject.toml
  • tests/test_control_device_extras.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/control-wave-1

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.

@simons-plugins
simons-plugins merged commit 1fe60dd into main Jul 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Control wave 1: device basics — toggle, delay/duration, enable, status, lock, relative dim, ping/beep/energy-reset

1 participant