[automation] Do not consider disabled things for start level 80 (#1968)

Fixes #1967

Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
Kai Kreuzer 2020-12-20 09:44:45 +01:00 committed by GitHub
parent 090b889dbb
commit cea96b3d81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -400,7 +400,7 @@ public class ThingManagerImpl
public void onReadyMarkerAdded(ReadyMarker readyMarker) {
startLevelSetterJob = scheduler.scheduleWithFixedDelay(() -> {
for (Thing t : things) {
if (!ThingHandlerHelper.isHandlerInitialized(t)) {
if (!ThingHandlerHelper.isHandlerInitialized(t) && t.isEnabled()) {
return;
}
}