File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
bundles/org.openhab.core.model.yaml/src/main/java/org/openhab/core/model/yaml/internal/things Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 4343import org .openhab .core .model .yaml .YamlModelListener ;
4444import org .openhab .core .service .ReadyMarker ;
4545import org .openhab .core .service .ReadyService ;
46- import org .openhab .core .service .StartLevelService ;
4746import org .openhab .core .thing .Channel ;
4847import org .openhab .core .thing .ChannelUID ;
4948import org .openhab .core .thing .Thing ;
@@ -126,8 +125,6 @@ public void run() {
126125 }
127126 };
128127
129- private boolean modelLoaded = false ;
130-
131128 private @ Nullable Thread lazyRetryThread ;
132129
133130 private record QueueContent (ThingHandlerFactory thingHandlerFactory , ThingTypeUID thingTypeUID ,
@@ -259,10 +256,7 @@ public void unsetReadyService(final ReadyService readyService) {
259256
260257 @ Override
261258 public void onReadyMarkerAdded (ReadyMarker readyMarker ) {
262- String type = readyMarker .getType ();
263- if (StartLevelService .STARTLEVEL_MARKER_TYPE .equals (type )) {
264- modelLoaded = Integer .parseInt (readyMarker .getIdentifier ()) >= StartLevelService .STARTLEVEL_MODEL ;
265- } else if (XML_THING_TYPE .equals (type )) {
259+ if (XML_THING_TYPE .equals (readyMarker .getType ())) {
266260 String bsn = readyMarker .getIdentifier ();
267261 loadedXmlThingTypes .add (bsn );
268262 thingHandlerFactories .stream ().filter (factory -> bsn .equals (getBundleName (factory ))).forEach (factory -> {
You can’t perform that action at this time.
0 commit comments