Skip to content

Added additional resource type values#40

Merged
thibauult merged 1 commit intoopenhue:mainfrom
icalder:feat/new-resource-types
Jan 21, 2026
Merged

Added additional resource type values#40
thibauult merged 1 commit intoopenhue:mainfrom
icalder:feat/new-resource-types

Conversation

@icalder
Copy link
Contributor

@icalder icalder commented Jan 20, 2026

My local hue hub reports these new resource types. Enum values extended to avoid validation failures when using a client library built from the API spec.

Summary by CodeRabbit

  • New Features
    • Added support for grouped motion detection resources, enabling coordinated motion sensing capabilities
    • Added support for grouped light level resources for synchronized illumination monitoring across devices
    • Enhanced platform to support new aggregated resource types for improved sensor management

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Jan 20, 2026

📝 Walkthrough

Walkthrough

Two new enum values—grouped_motion and grouped_light_level—are added to resource type definitions across two YAML schema files. These additions extend the supported resource types without modifying existing logic or structure.

Changes

Cohort / File(s) Summary
Schema resource type enhancements
src/common/ResourceIdentifier.yaml, src/resource/ResourceGet.yaml
Added grouped_motion and grouped_light_level enum values to rtype and type fields respectively, enabling these new resource types in system schemas

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Suggested reviewers

  • thibauult

Poem

🐰 Hop, hop, grouped motion hops along,
Light levels gathered in a song,
Two new types now dance and play,
In schemas bright, they're here to stay!
✨🔦🐇

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: adding two new resource type enum values (grouped_motion and grouped_light_level) to the API specification.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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


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.

@thibauult thibauult merged commit e8201b3 into openhue:main Jan 21, 2026
2 checks passed
@thibauult
Copy link
Collaborator

Thanks for your contribution @icalder ! Released as part of the 0.19 🚀

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.

2 participants