[infrastructure] move infered nullness warnings to error and update EEA (#8949)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
This commit is contained in:
@@ -636,6 +636,7 @@ public class LifxLightHandler extends BaseThingHandler {
|
||||
.setTemperature(percentTypeToKelvin(localPowerOnTemperature, product.getTemperatureRange()));
|
||||
}
|
||||
|
||||
PercentType powerOnBrightness = this.powerOnBrightness;
|
||||
if (powerOnBrightness != null) {
|
||||
PercentType newBrightness = onOff == OnOffType.ON ? powerOnBrightness : new PercentType(0);
|
||||
getLightStateForCommand().setBrightness(newBrightness);
|
||||
|
||||
Reference in New Issue
Block a user