Skip to content

Commit

Permalink
Adressing issue openhab#15377 (openhab#15664)
Browse files Browse the repository at this point in the history
There was a forgotten leftover here.

Signed-off-by: clinique <gael@lhopital.org>
  • Loading branch information
clinique authored and pat-git023 committed Oct 13, 2023
1 parent 0a6bede commit 31000cc
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import org.eclipse.jdt.annotation.NonNullByDefault;
import org.openhab.binding.netatmo.internal.api.data.NetatmoConstants.FloodLightMode;
import org.openhab.binding.netatmo.internal.api.data.NetatmoConstants.SirenStatus;
import org.openhab.binding.netatmo.internal.api.dto.HomeStatusModule;
import org.openhab.binding.netatmo.internal.handler.CommonInterface;
import org.openhab.binding.netatmo.internal.handler.channelhelper.ChannelHelper;
import org.openhab.binding.netatmo.internal.providers.NetatmoDescriptionProvider;
Expand All @@ -44,12 +43,6 @@ public PresenceCapability(CommonInterface handler, NetatmoDescriptionProvider de
super(handler, descriptionProvider, channelHelpers);
}

@Override
public void updateHomeStatusModule(HomeStatusModule newData) {
super.updateHomeStatusModule(newData);
getSecurityCapability().ifPresent(cap -> cap.changeSirenStatus(handler.getId(), SirenStatus.SOUND));
}

@Override
public void handleCommand(String channelName, Command command) {
if (CHANNEL_FLOODLIGHT.equals(channelName)) {
Expand Down

0 comments on commit 31000cc

Please sign in to comment.