Skip to content

[YAML thing] Allow "configuration" in syntax as alternative to "config"#5332

Merged
holgerfriedrich merged 1 commit intoopenhab:mainfrom
lolodomo:yaml_configuration_alias
Feb 12, 2026
Merged

[YAML thing] Allow "configuration" in syntax as alternative to "config"#5332
holgerfriedrich merged 1 commit intoopenhab:mainfrom
lolodomo:yaml_configuration_alias

Conversation

@lolodomo
Copy link
Contributor

@lolodomo lolodomo commented Feb 8, 2026

For thing and channel.

For thing and channel.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
@lolodomo lolodomo requested a review from a team as a code owner February 8, 2026 10:10
@holgerfriedrich
Copy link
Member

Could you pls. give some context why you want to add this alias? Is this a planned transition or are there inconsistencies?

@lolodomo
Copy link
Contributor Author

It is to keep a kind of consistency with what @Nadahar implemented in #4633 . I found his proposal reasonable, even if of course not strictly required.

@Nadahar
Copy link
Contributor

Nadahar commented Feb 11, 2026

My reason for wanting to support both is that "the new YAML format" has defined its own shorthand terms for various fields for convenience. But, for anyone working with the actual Java class structure as a guide, or using JSON DB serializations as inspiration, these shorthand terms will be unknown, and they would have to find the documentation where these are "translated" to make things work. It costs so little to support the "full name" in addition to the shorthand terms, which I believe may result in a smoother experience all in all.

Copy link
Member

@holgerfriedrich holgerfriedrich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the explanation.

@holgerfriedrich holgerfriedrich merged commit 60331d1 into openhab:main Feb 12, 2026
5 checks passed
@holgerfriedrich holgerfriedrich added the enhancement An enhancement or new feature of the Core label Feb 12, 2026
@holgerfriedrich holgerfriedrich added this to the 5.2 milestone Feb 12, 2026
@lolodomo lolodomo deleted the yaml_configuration_alias branch February 12, 2026 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement An enhancement or new feature of the Core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants