Skip to content

[dirigera] Bugfix device set capabilities#21119

Open
weymann wants to merge 6 commits into
openhab:mainfrom
weymann:bugfix/dirigera-deviceset-properties
Open

[dirigera] Bugfix device set capabilities#21119
weymann wants to merge 6 commits into
openhab:mainfrom
weymann:bugfix/dirigera-deviceset-properties

Conversation

@weymann

@weymann weymann commented Jul 6, 2026

Copy link
Copy Markdown
Member

IKEA device sets don't provide capabilities. They need to be fetched from each device which is part of the set,

Resolves #21053

@weymann weymann force-pushed the bugfix/dirigera-deviceset-properties branch from 71ab8a7 to 2b91cfd Compare July 6, 2026 18:58
@weymann weymann requested a review from Copilot July 6, 2026 19:19

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.

Pull request overview

This PR addresses a Dirigera binding bug where IKEA device sets (e.g., light sets) don’t expose capabilities at the set level, causing command handling (notably color temperature) to be rejected even though member devices support it (as described in issue #21053).

Changes:

  • Aggregate capabilities for a light set by fetching properties from each member device during initialization.
  • Refactor BaseHandler.updateProperties() to delegate to a new updateProperties(String id) overload.
  • Reformat the Dirigera binding pom.xml XML header/layout.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
bundles/org.openhab.binding.dirigera/src/main/java/org/openhab/binding/dirigera/internal/handler/light/LightSetHandler.java Initializes set capabilities by iterating over member devices and applying their properties/capabilities.
bundles/org.openhab.binding.dirigera/src/main/java/org/openhab/binding/dirigera/internal/handler/BaseHandler.java Introduces updateProperties(String id) to support fetching model properties for arbitrary device IDs.
bundles/org.openhab.binding.dirigera/pom.xml Adjusts XML formatting of the POM header/opening tag.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

weymann added 5 commits July 6, 2026 23:35
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
This reverts commit 2b91cfd.

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
This reverts commit 5b4c988.

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
@weymann weymann force-pushed the bugfix/dirigera-deviceset-properties branch from bcf793e to 8e5b59f Compare July 6, 2026 21:35
@weymann weymann requested a review from Copilot July 6, 2026 21:48

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.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
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.

[dirigera] Device Set: Color Temperature change not reported to item

2 participants