Remove unused local variables (#10528)
Fixes 26 SAT UnusedLocalVariable findings Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -38,7 +38,6 @@ import org.openhab.core.thing.ChannelUID;
|
||||
import org.openhab.core.thing.Thing;
|
||||
import org.openhab.core.thing.ThingStatus;
|
||||
import org.openhab.core.thing.ThingStatusDetail;
|
||||
import org.openhab.core.thing.ThingTypeUID;
|
||||
import org.openhab.core.thing.binding.BaseThingHandler;
|
||||
import org.openhab.core.types.Command;
|
||||
import org.openhab.core.types.State;
|
||||
@@ -227,7 +226,6 @@ public abstract class DaikinBaseHandler extends BaseThingHandler {
|
||||
}
|
||||
|
||||
private void changeHomekitMode(String homekitmode) throws DaikinCommunicationException {
|
||||
ThingTypeUID thingTypeUID = thing.getThingTypeUID();
|
||||
if (HomekitMode.OFF.getValue().equals(homekitmode)) {
|
||||
changePower(false);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user