Commit Graph
3404 Commits
Author SHA1 Message Date
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Holger Friedrich
251e605071 Bump bnd.version from 7.2.3 to 7.3.0 (#5629)
* Bump bnd.version from 7.2.3 to 7.3.0

Bumps `bnd.version` from 7.2.3 to 7.3.0.

Updates `biz.aQute.bnd:bnd-maven-plugin` from 7.2.3 to 7.3.0
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Commits](https://github.com/bndtools/bnd/compare/7.2.3...7.3.0)

Updates `biz.aQute.bnd:bnd-indexer-maven-plugin` from 7.2.3 to 7.3.0
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Commits](https://github.com/bndtools/bnd/compare/7.2.3...7.3.0)

Updates `biz.aQute.bnd:bnd-resolver-maven-plugin` from 7.2.3 to 7.3.0
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Commits](https://github.com/bndtools/bnd/compare/7.2.3...7.3.0)

Updates `biz.aQute.bnd:bnd-export-maven-plugin` from 7.2.3 to 7.3.0
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Commits](https://github.com/bndtools/bnd/compare/7.2.3...7.3.0)

Updates `biz.aQute.bnd:bnd-testing-maven-plugin` from 7.2.3 to 7.3.0
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Commits](https://github.com/bndtools/bnd/compare/7.2.3...7.3.0)

Updates `biz.aQute.bnd:bnd-baseline-maven-plugin` from 7.2.3 to 7.3.0
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Commits](https://github.com/bndtools/bnd/compare/7.2.3...7.3.0)

Updates `biz.aQute.bnd:biz.aQute.tester.junit-platform` from 7.2.3 to 7.3.0
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Commits](https://github.com/bndtools/bnd/compare/7.2.3...7.3.0)

---
updated-dependencies:
- dependency-name: biz.aQute.bnd:biz.aQute.tester.junit-platform
  dependency-version: 7.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: biz.aQute.bnd:bnd-baseline-maven-plugin
  dependency-version: 7.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: biz.aQute.bnd:bnd-export-maven-plugin
  dependency-version: 7.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: biz.aQute.bnd:bnd-indexer-maven-plugin
  dependency-version: 7.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: biz.aQute.bnd:bnd-maven-plugin
  dependency-version: 7.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: biz.aQute.bnd:bnd-resolver-maven-plugin
  dependency-version: 7.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: biz.aQute.bnd:bnd-testing-maven-plugin
  dependency-version: 7.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* adapt bndrun files

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Holger Friedrich <mail@holger-friedrich.de>
2026-06-06 21:20:22 +02:00
Florian HotzeandGitHub 9e72e1a207 [voice] Address feedback from PR #5620 (#5632)
* [voice] ConversationManager: Don't create "anonymous" conversation if createIfMissing=false in getConversation()
* [voice] Fix SAT & null warnings
* Adjust ConversationMapperTest to DTO changes

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-06-06 14:36:09 +02:00
dependabot[bot]andGitHub 05b7c180d5 Bump org.apache.maven:maven-artifact from 3.9.11 to 3.9.16 (#5628)
Bumps org.apache.maven:maven-artifact from 3.9.11 to 3.9.16.

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-04 18:01:20 +02:00
dependabot[bot]andGitHub d70795a5f1 Bump org.codehaus.gmavenplus:gmavenplus-plugin from 4.3.1 to 5.0.0 (#5631)
Bumps [org.codehaus.gmavenplus:gmavenplus-plugin](https://github.com/groovy/GMavenPlus) from 4.3.1 to 5.0.0.
- [Release notes](https://github.com/groovy/GMavenPlus/releases)
- [Commits](https://github.com/groovy/GMavenPlus/compare/4.3.1...5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-04 17:59:15 +02:00
Holger FriedrichandGitHub 6bd0d04087 [dependabot] Allow maven-artifact (#5616)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-06-04 17:28:45 +02:00
Florian HotzeandGitHub 24ef83c362 [voice] Add additional rules to the StandardInterpreter (#5625)
* [voice] StandardInterpreter: Add additional rules & Fix German PlayPauseType rule

* English: Add "open/close [the] <item>" rule
* English: Add "turn|switch on|off [the] <item>" rule
* German: Add "öffne/schließe [den|die|das] <item>" rule
* German: Add "mache [den|die|das] <item> lauter|leiser" rule

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-06-04 17:24:58 +02:00
12acddf927 Include rule UID in log message when executions fails (#5627)
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
Co-authored-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-06-04 17:18:38 +02:00
de3c272bc5 [voice] Add conversations & LLM tools support (#5620)
* [voice] Update HLI interface for LLM implementations

Signed-off-by: Florian Hotze <dev@florianhotze.com>
Co-authored-by: Miguel Álvarez <miguelwork92@gmail.com>
Co-authored-by: Kai Kreuzer <kai@openhab.org>
2026-06-04 16:46:02 +02:00
927f244419 Revert "[automation] AbstractScriptModuleHandler: Remove prefixes from context entries before injecting ctx into execution context (#4919)" (#5621)
This reverts commit 9c27b896d0.

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
Co-authored-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-06-02 17:46:24 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Holger Friedrich
dd00463677 Bump jackson.version from 2.21.3 to 2.21.4 (#5617)
* Bump jackson.version from 2.21.3 to 2.21.4

Bumps `jackson.version` from 2.21.3 to 2.21.4.

Updates `com.fasterxml.jackson.core:jackson-core` from 2.21.3 to 2.21.4
- [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.21.3...jackson-core-2.21.4)

Updates `com.fasterxml.jackson.core:jackson-databind` from 2.21.3 to 2.21.4
- [Commits](https://github.com/FasterXML/jackson/commits)

Updates `com.fasterxml.jackson.dataformat:jackson-dataformat-cbor` from 2.21.3 to 2.21.4
- [Commits](https://github.com/FasterXML/jackson-dataformats-binary/compare/jackson-dataformats-binary-2.21.3...jackson-dataformats-binary-2.21.4)

Updates `com.fasterxml.jackson.dataformat:jackson-dataformat-xml` from 2.21.3 to 2.21.4
- [Commits](https://github.com/FasterXML/jackson-dataformat-xml/compare/jackson-dataformat-xml-2.21.3...jackson-dataformat-xml-2.21.4)

Updates `com.fasterxml.jackson.dataformat:jackson-dataformat-yaml` from 2.21.3 to 2.21.4
- [Commits](https://github.com/FasterXML/jackson-dataformats-text/compare/jackson-dataformats-text-2.21.3...jackson-dataformats-text-2.21.4)

Updates `com.fasterxml.jackson.datatype:jackson-datatype-jdk8` from 2.21.3 to 2.21.4

Updates `com.fasterxml.jackson.datatype:jackson-datatype-jsr310` from 2.21.3 to 2.21.4

Updates `com.fasterxml.jackson.jaxrs:jackson-jaxrs-base` from 2.21.3 to 2.21.4
- [Commits](https://github.com/FasterXML/jackson-jaxrs-providers/compare/jackson-jaxrs-providers-2.21.3...jackson-jaxrs-providers-2.21.4)

Updates `com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider` from 2.21.3 to 2.21.4

Updates `com.fasterxml.jackson.module:jackson-module-jaxb-annotations` from 2.21.3 to 2.21.4
- [Commits](https://github.com/FasterXML/jackson-modules-base/compare/jackson-modules-base-2.21.3...jackson-modules-base-2.21.4)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.core:jackson-core
  dependency-version: 2.21.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.fasterxml.jackson.core:jackson-databind
  dependency-version: 2.21.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.fasterxml.jackson.dataformat:jackson-dataformat-cbor
  dependency-version: 2.21.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.fasterxml.jackson.dataformat:jackson-dataformat-xml
  dependency-version: 2.21.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.fasterxml.jackson.dataformat:jackson-dataformat-yaml
  dependency-version: 2.21.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.fasterxml.jackson.datatype:jackson-datatype-jdk8
  dependency-version: 2.21.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.fasterxml.jackson.datatype:jackson-datatype-jsr310
  dependency-version: 2.21.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.fasterxml.jackson.jaxrs:jackson-jaxrs-base
  dependency-version: 2.21.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider
  dependency-version: 2.21.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.fasterxml.jackson.module:jackson-module-jaxb-annotations
  dependency-version: 2.21.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Adapt feature and bndrun files

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Holger Friedrich <mail@holger-friedrich.de>
2026-05-31 08:43:29 +02:00
Kai KreuzerandGitHub ab977dfbba Set specific version in dependency (#5615)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2026-05-30 09:51:43 +02:00
Mark HerwegeandGitHub 1976decbb9 UpgradeTool add semantics upgrader and OH version (#5379)
* upgrade semantic tags

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2026-05-29 22:23:42 +02:00
lolodomoandGitHub 64cb8b8145 Clean retry queue when a thing is updated/removed in YAML thing provider (#5361)
* [YAML thing provider] Clean retry queue when a thing is updated/removed

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-29 22:16:38 +02:00
Дилян ПалаузовandGitHub 4fbee78009 rule.runtime.RuleRuntimeActivator: use one activator method (#5599) 2026-05-29 22:09:31 +02:00
Дилян ПалаузовandGitHub f8e4a20b9c rule.runtime.internal.RuleRuntimeActivator: do not expose unused service (#5600) 2026-05-29 22:06:16 +02:00
Дилян ПалаузовandGitHub 5dcdf78bcd model.script.ScriptItemRefresher: do not expose itself as unused service (#5601) 2026-05-29 22:03:42 +02:00
Holger FriedrichandGitHub a38ece3f8b [GHA] Sign off PRs as openHAB bot (#5581)
* [GHA] Sign off PRs as openHAB bot

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-05-29 21:48:25 +02:00
1132515ae4 Various YAML fixes (#5588)
* Create YamlConfigDescriptionDTO and YamlConfigDescriptionParameterGroupDTO

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Use YamlConfigDescriptionDTO for YAML pages and widgets

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Create YamlWidgetParser and add getAllFromModel() to YamlWidgetProvider.java

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Make sure that ObjectParser.getParsedObjects() returns a copy

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Update bundles/org.openhab.core.model.yaml/src/main/java/org/openhab/core/model/yaml/internal/config/YamlConfigDescriptionDTO.java

Co-authored-by: Mark Herwege <mherwege@users.noreply.github.com>
Signed-off-by: Nadahar <Nadahar@users.noreply.github.com>

* Address review feedback and apply explicit charset to other "converters"

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

---------

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
Signed-off-by: Nadahar <Nadahar@users.noreply.github.com>
Co-authored-by: Ravi Nadahar <nadahar@rediffmail.com>
Co-authored-by: Mark Herwege <mherwege@users.noreply.github.com>
2026-05-29 15:33:57 +02:00
lolodomoandGitHub 0300c1986d Create ready markers for proper managed providers (#5604)
* Create ready markers for proper managed providers

"managed" markers (managed=item, managed=metadata, managed=rule, managed=thing and managed=itemchannellink) were created too early with the following providers: ScriptedItemProvider, ScriptedMetadataProvider, ScriptedRuleProvider, ScriptedThingProvider and ScriptedItemChannelLinkProvider.
They are now properly created with providers ManagedItemProvider, ManagedMetadataProviderImpl, ManagedRuleProvider, ManagedThingProvider and ManagedItemChannelLinkProvider.

Marker managed=sitemap is now also created with provider UIComponentSitemapProvider.

Marker managed=persistenceserviceconfiguration is now also created with provider ManagedPersistenceServiceConfigurationProvider.

Marker managed=semantictag is now also created with provider ManagedSemanticTagProvider.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Fix tests in core.model.script

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

---------

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-29 08:10:13 +02:00
dependabot[bot]andGitHub 53a30bb967 Bump org.apache.maven.plugins:maven-dependency-plugin (#5612)
Bumps [org.apache.maven.plugins:maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/apache/maven-dependency-plugin/releases)
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-3.10.0...maven-dependency-plugin-3.11.0)

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-29 07:57:55 +02:00
dependabot[bot]andGitHub 173073a033 Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.5 to 3.5.6 (#5613)
Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.5.5 to 3.5.6.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.5.5...surefire-3.5.6)

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-29 07:44:45 +02:00
lolodomoandGitHub 4ec5776700 Add semantic tags to conversion REST API (#5573)
* Add semantic tags to conversion REST API

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Copilot comments: first set of changes

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* getAllFromModel: copy list

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* removeModel: get a mutable empty list

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Simplification in method parse (REST API)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Force UTF-8 charset when using the file-format APIs

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Change default value for parameter hideDefaultTags to false

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Add parameter to exclude non editable tags

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Finally apply hideNonEditableTags/hideDefaultTags params even when UIDs are provided

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Review comment: use/add methods isEditable/IsDefault from the registry

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Extend REST API getTags to have the info in the response if the tag is default

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

---------

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-28 12:13:50 +02:00
dependabot[bot]andGitHub e380336fb5 Bump xtext.version from 2.43.0.M2 to 2.43.0 (#5610)
Bumps `xtext.version` from 2.43.0.M2 to 2.43.0.

Updates `org.eclipse.xtext:xtend-maven-plugin` from 2.43.0.M2 to 2.43.0

Updates `org.eclipse.xtext:xtext-dev-bom` from 2.43.0.M2 to 2.43.0
- [Commits](https://github.com/eclipse-xtext/xtext/compare/v2.43.0.M2...v2.43.0)

Updates `org.eclipse.xtext:org.eclipse.xtext.xtext.generator` from 2.43.0.M2 to 2.43.0
- [Commits](https://github.com/eclipse-xtext/xtext/compare/v2.43.0.M2...v2.43.0)

Updates `org.eclipse.xtext:org.eclipse.xtext.common.types` from 2.43.0.M2 to 2.43.0
- [Commits](https://github.com/eclipse-xtext/xtext/compare/v2.43.0.M2...v2.43.0)

Updates `org.eclipse.xtext:org.eclipse.xtext.xbase` from 2.43.0.M2 to 2.43.0
- [Commits](https://github.com/eclipse-xtext/xtext/compare/v2.43.0.M2...v2.43.0)

Updates `org.eclipse.xtext:org.eclipse.xtext.xbase.lib` from 2.43.0.M2 to 2.43.0
- [Commits](https://github.com/eclipse-xtext/xtext/compare/v2.43.0.M2...v2.43.0)

Updates `org.eclipse.xtext:org.eclipse.xtext.xbase.ide` from 2.43.0.M2 to 2.43.0
- [Commits](https://github.com/eclipse-xtext/xtext/compare/v2.43.0.M2...v2.43.0)

Updates `org.eclipse.xtext:org.eclipse.xtext.ide` from 2.43.0.M2 to 2.43.0
- [Commits](https://github.com/eclipse-xtext/xtext/compare/v2.43.0.M2...v2.43.0)

Updates `org.eclipse.xtext:org.eclipse.xtext` from 2.43.0.M2 to 2.43.0
- [Commits](https://github.com/eclipse-xtext/xtext/compare/v2.43.0.M2...v2.43.0)

Updates `org.eclipse.xtext:org.eclipse.xtend.lib` from 2.43.0.M2 to 2.43.0
- [Commits](https://github.com/eclipse-xtext/xtext/compare/v2.43.0.M2...v2.43.0)

Updates `org.eclipse.xtext:org.eclipse.xtend.lib.macro` from 2.43.0.M2 to 2.43.0
- [Commits](https://github.com/eclipse-xtext/xtext/compare/v2.43.0.M2...v2.43.0)

Updates `org.eclipse.xtext:org.eclipse.xtext.util` from 2.43.0.M2 to 2.43.0
- [Commits](https://github.com/eclipse-xtext/xtext/compare/v2.43.0.M2...v2.43.0)

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-27 16:36:23 +02:00
Mark HerwegeandGitHub 73bf65c61d Sitemap DTO fix backward compatibility (#5593)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2026-05-27 16:16:09 +02:00
lolodomoandGitHub 9220a7a8c1 Create ready markers for YAML providers (#5605)
yaml=items
yaml=pages
yaml=rules
yaml=ruletemplates
yaml=tags
yaml=sitemaps
yaml=things
yaml=widgets

Related to #5602

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-26 12:12:08 +02:00
lolodomoandGitHub 587f064c0d Reference ReadyService in SitemapRegistry (#5603)
This will in particular trigger the "managed:sitemap" ready marker.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-26 11:57:57 +02:00
lolodomoandGitHub db42ae0bbf Fix blocked treatment when DSL script is empty (#5606)
Problem appeared after #5595

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-26 09:52:22 +02:00
dependabot[bot]andGitHub eed6d891ff Bump org.apache.maven.plugins:maven-site-plugin from 3.21.0 to 3.22.0 (#5598)
Bumps [org.apache.maven.plugins:maven-site-plugin](https://github.com/apache/maven-site-plugin) from 3.21.0 to 3.22.0.
- [Release notes](https://github.com/apache/maven-site-plugin/releases)
- [Commits](https://github.com/apache/maven-site-plugin/compare/maven-site-plugin-3.21.0...maven-site-plugin-3.22.0)

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-25 07:33:19 +02:00
lolodomoandGitHub a72824d4e0 Enhance error/warning messages for DSL sitemaps (#5594)
More precise line number.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-24 10:04:04 +02:00
lolodomoandGitHub 2067825672 Fix loading of DSL .script files at openHAB startup (#5595)
The DSL Rule provider must handle rules and scripts in onReadyMarkerAdded.
Until now, only .rules files were handled, not .script files.
As a result, .script files were ignored by the rule provider.
Sometimes it worked well because there was a call to reloadAllModelsOfType for all scripts when the rule provider was ready and the .script files were then handled by the provider in modelChanged.
If this last call was done while the rule provider was not yet ready, the .script files were ignored because the rule provider was not yet setup to handle model changes.
So all of this depends on timing conditions at openHAB startup.
With that change, the .script files will always be considered by the DSL rule provider.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-24 10:00:21 +02:00
github-actions[bot]andGitHub 9e506ec519 Update maven wrapper to 3.9.16 (#5589) 2026-05-24 07:12:06 +02:00
lolodomoandGitHub 2169fe0323 Fix syntax for time in trigger/condition in DSL rule (#5591)
* Fix syntax for time in trigger/condition in DSL rule

Avoid conflict with switch-case statement

Time as "7:0" is now also supported.

Fix #5586

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Optimize method buildMsgWithLineNb

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Consider Copilot review comments

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Consider human comments

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

---------

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-23 21:19:28 +02:00
dependabot[bot]andGitHub 83881e6ab3 Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.6.2 to 3.6.3 (#5585)
Bumps [org.apache.maven.plugins:maven-enforcer-plugin](https://github.com/apache/maven-enforcer) from 3.6.2 to 3.6.3.
- [Release notes](https://github.com/apache/maven-enforcer/releases)
- [Commits](https://github.com/apache/maven-enforcer/compare/enforcer-3.6.2...enforcer-3.6.3)

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-18 16:15:30 +02:00
Дилян ПалаузовandGitHub 2d435db21a core.items.GenericItem.getCommandOptions() - simplify (#5583) 2026-05-18 13:04:29 +02:00
openhab-botandGitHub 771986b233 New Crowdin updates (#5582)
* New translations automation.properties (German)
* New translations systemprofiles.properties (German)
2026-05-18 11:21:39 +02:00
dependabot[bot]andGitHub 9be5f66186 Bump org.apache.maven:maven-plugin-api from 3.9.15 to 3.9.16 (#5579)
Bumps [org.apache.maven:maven-plugin-api](https://github.com/apache/maven) from 3.9.15 to 3.9.16.
- [Release notes](https://github.com/apache/maven/releases)
- [Commits](https://github.com/apache/maven/compare/maven-3.9.15...maven-3.9.16)

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-18 05:53:56 +02:00
Holger Friedrich d5ee39a373 Revert "Upgrade californium to 4.0.0-M6 (#5558)"
This reverts commit 7534ec25bf.
2026-05-17 20:20:57 +02:00
Florian HotzeandGitHub 50b360fa26 Add support for env var resolution in Thing configuration (#5568)
* [config] ConfigUtil: Implement methods to resolve env variable syntax to environment variable values in Configuration (values)

Signed-off-by: Florian Hotze <dev@florianhotze.com>

* [things] BaseThingHandler: Automatically resolve variables in configuration

Signed-off-by: Florian Hotze <dev@florianhotze.com>

* [config] ConfigUtil: Make envProvider protected to subclasses in tests can access it from outside the package

Signed-off-by: Florian Hotze <dev@florianhotze.com>

* [config] ConfigUtilTest: Add a resource lock on ConfigUtil.class

Signed-off-by: Florian Hotze <dev@florianhotze.com>

* [thing] BaseThingHandler: Add unit tests for config variable resolving

Signed-off-by: Florian Hotze <dev@florianhotze.com>

* Address Copilot review

Signed-off-by: Florian Hotze <dev@florianhotze.com>

* Address Copilot review

Signed-off-by: Florian Hotze <dev@florianhotze.com>

* Address Copilot review

Signed-off-by: Florian Hotze <dev@florianhotze.com>

* ConfigUtil: Throw IEA when a variable fails to resolve

Signed-off-by: Florian Hotze <dev@florianhotze.com>

* Address Copilot review

Signed-off-by: Florian Hotze <dev@florianhotze.com>

* Address Copilot review

Signed-off-by: Florian Hotze <dev@florianhotze.com>

* Address Copilot review

Signed-off-by: Florian Hotze <dev@florianhotze.com>

* ConfigUtil: Add method to resolve variables & normalize config afterward

Signed-off-by: Florian Hotze <dev@florianhotze.com>

---------

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-05-17 19:55:04 +02:00
85c7c3c469 Make RuleManager.runNow() run in the dedicated rule thread (#5069)
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
Co-authored-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-05-17 18:42:58 +02:00
openhab-botandGitHub ed4f96b095 New Crowdin updates (#5578)
* New translations systemprofiles.properties (Danish)

[ci skip]

* New translations systemprofiles.properties (Italian)

[ci skip]
2026-05-17 18:29:59 +02:00
Дилян ПалаузовandGitHub 6920233c5e model.script.ScriptInterpreter::doEvaluate() - simplify (#5557)
Parameter expression cannot be null
2026-05-17 00:43:19 +02:00
lolodomoandGitHub 9b666a18f4 Fix thing manager when thing is updated (particular time case) (#5577)
Avoid having a thing handler being initialized for a thing UID without first disposing the previous handler for this thing UID.
unregisterAndDisposeHandler is now called instead of unregisterHandler before calling registerAndInitializeHandler in this particular case (thing handler exists for the old thing version).

Fix #5575

Few logs added to help future debugging.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-17 00:39:39 +02:00
NadaharandGitHub 8b3e8b53ec Update GenericEventTrigger label and requirements (#5544)
Fix configuration parameters' requirements

Signed-off-by: Nadahar <Nadahar@users.noreply.github.com>
2026-05-17 00:26:07 +02:00
Christoph WeitkampandGitHub 1c786e7181 Add parameter on Hysteresis Profile to exclude current Item State from calculation (#5556)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2026-05-17 00:24:32 +02:00
Holger FriedrichandGitHub 4d5610fd57 Reduce SAT and compiler warnings (#5549)
* Reduce SAT and compiler warnings

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-05-17 00:20:34 +02:00
Holger FriedrichandGitHub d7470afc23 Handle deprecated APIs (#5550)
* Handle deprecated APIs

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-05-17 00:19:33 +02:00
Dan CunninghamandGitHub 1f74dde4ed Introduce webhook service (#5477)
This adds a new Webhook service for bindings who provide public webhooks, like the cloud binding

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2026-05-17 00:17:58 +02:00
lolodomoandGitHub e8406ca1aa Allow rule with no trigger in DSL Rule file format (#5462)
* [DSL Rule] Allow rule with no trigger in DSL file format

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Copilot review comment: call getByytes with StandardCharsets.UTF_8 as parameter

It was already called with StandardCharsets.UTF_8 for certain tests in that test class.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Fix order of lines in itests after resolving conflict

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Make triggers optional including the "when" key

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

---------

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-13 23:13:45 +02:00
lolodomoandGitHub 96b6cdf764 Fix registration of sitemap providers to its registry (#5574)
Align with how it is implemented for any other registry/providers.

YAML files containing sitemaps are now properly loaded.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-13 22:45:04 +02:00
dependabot[bot]andGitHub 118af0d6ac Bump org.apache.maven:maven-plugin-api from 3.9.6 to 3.9.15 (#5570)
Bumps [org.apache.maven:maven-plugin-api](https://github.com/apache/maven) from 3.9.6 to 3.9.15.
- [Release notes](https://github.com/apache/maven/releases)
- [Commits](https://github.com/apache/maven/compare/maven-3.9.6...maven-3.9.15)

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-12 08:20:32 +02:00