From e4790af14e369fe4706024e7e60af8fa23e5564e Mon Sep 17 00:00:00 2001 From: "Jan N. Klug" Date: Sat, 12 Feb 2022 20:04:38 +0100 Subject: [PATCH] Fix missing STARTLEVEL_COMPLETE ReadyMarker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since no requirements are defined for `STARTLEVEL_COMPLETE´ no `ReadyMarker` was added to the map of `ReadyMarker`s. Signed-off-by: Jan N. Klug --- .../main/java/org/openhab/core/service/StartLevelService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bundles/org.openhab.core/src/main/java/org/openhab/core/service/StartLevelService.java b/bundles/org.openhab.core/src/main/java/org/openhab/core/service/StartLevelService.java index 1179a1e465d..97659865999 100644 --- a/bundles/org.openhab.core/src/main/java/org/openhab/core/service/StartLevelService.java +++ b/bundles/org.openhab.core/src/main/java/org/openhab/core/service/StartLevelService.java @@ -177,6 +177,8 @@ protected void modified(Map configuration) { startlevels = parseConfig(configuration); startlevels.keySet() .forEach(sl -> slmarker.put(sl, new ReadyMarker(STARTLEVEL_MARKER_TYPE, Integer.toString(sl)))); + slmarker.put(STARTLEVEL_COMPLETE, + new ReadyMarker(STARTLEVEL_MARKER_TYPE, Integer.toString(STARTLEVEL_COMPLETE))); startlevels.values().stream().forEach(ms -> ms.forEach(e -> registerTracker(e))); }