mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
There was a forgotten leftover here. Signed-off-by: clinique <gael@lhopital.org>
This commit is contained in:
parent
d64dc9a046
commit
0c5a5a4fea
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user