[deconz] properly initialize colorMode (#9583)

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
This commit is contained in:
J-N-K 2020-12-31 12:05:31 +01:00 committed by GitHub
parent ee72664d47
commit b6fbcfa523
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,6 +116,9 @@ public class LightThingHandler extends DeconzBaseThingHandler {
needsPropertyUpdate = true;
}
}
ThingConfig thingConfig = getConfigAs(ThingConfig.class);
colorMode = thingConfig.colormode;
super.initialize();
}