Reduce SAT warnings (#15090)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
This commit is contained in:
@@ -289,6 +289,7 @@ public class SonnenHandler extends BaseThingHandler {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("PMD.SimplifyBooleanReturns")
|
||||
private boolean arePowerMeterChannelsLinked() {
|
||||
if (isLinked(CHANNELENERGYIMPORTEDSTATEPRODUCTION)) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user