Skip to content

Conversation

ccutrer
Copy link
Contributor

@ccutrer ccutrer commented Sep 23, 2025

Allows REST API calls to optionally specify a source to go along with item commands.

…new standards

In particular, prefix the channel UID with the package (org.openhab.core.thing), and
the channel UID becomes the actor.

Creates helper methods in AbstractEvent for easily constructing new sources.

Extends ProfileCallback to allow profiles to explicitly specify a source, and then
uses the new delegation syntax to append the channel UID source component in that
case.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
Optionally allow providing a source, and then append (or directly) set
the REST package and authenticated username.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
@ccutrer ccutrer force-pushed the rest-command-source branch from 25afeac to 207b557 Compare October 13, 2025 23:56
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.

1 participant