[infrastructure] add external null-annotations (#8848)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
This commit is contained in:
@@ -73,7 +73,7 @@ public class SmartthingsHue100Converter extends SmartthingsConverter {
|
||||
return UnDefType.UNDEF;
|
||||
}
|
||||
|
||||
if ("Number".contentEquals(acceptedChannelType)) {
|
||||
if (acceptedChannelType != null && "Number".contentEquals(acceptedChannelType)) {
|
||||
if (deviceValue instanceof String) {
|
||||
double d = Double.parseDouble((String) deviceValue);
|
||||
d *= 3.6;
|
||||
|
||||
Reference in New Issue
Block a user