From 3f8531cd6fc1dacddbd9de5c098aae80006aca81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20L=27hopital?= Date: Sat, 30 Sep 2023 11:55:05 +0200 Subject: [PATCH] Adressing issue #15377 (#15664) There was a forgotten leftover here. Signed-off-by: clinique --- .../internal/handler/capability/PresenceCapability.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/bundles/org.openhab.binding.netatmo/src/main/java/org/openhab/binding/netatmo/internal/handler/capability/PresenceCapability.java b/bundles/org.openhab.binding.netatmo/src/main/java/org/openhab/binding/netatmo/internal/handler/capability/PresenceCapability.java index 9d3526f95..33c054258 100644 --- a/bundles/org.openhab.binding.netatmo/src/main/java/org/openhab/binding/netatmo/internal/handler/capability/PresenceCapability.java +++ b/bundles/org.openhab.binding.netatmo/src/main/java/org/openhab/binding/netatmo/internal/handler/capability/PresenceCapability.java @@ -19,7 +19,6 @@ import java.util.List; 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; @@ -44,12 +43,6 @@ public class PresenceCapability extends CameraCapability { 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)) {