Skip to content

Commit 3c2772f

Browse files
committed
Small fixes
Signed-off-by: Paul Smedley <paul@smedley.id.au>
1 parent 80a929b commit 3c2772f

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

bundles/org.openhab.binding.ring/src/main/java/org/openhab/binding/ring/RingBindingConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public class RingBindingConstants {
106106
public static final Set<String> BATTERY_KINDS = Stream
107107
.of(SPOTLIGHT_CAM_BATTERY_KINDS, STICKUP_CAM_KINDS, STICKUP_CAM_GEN3_KINDS, SPOTLIGHT_CAM_PRO_KINDS,
108108
DOORBELL_KINDS, DOORBELL_2_KINDS, DOORBELL_3_KINDS, DOORBELL_3_PLUS_KINDS, DOORBELL_4_KINDS,
109-
DOORBELL_GEN2_KINDS, DOORBELL_BATTERY_KINDS, PEEPHOLE_CAM_KINDS)
109+
DOORBELL_GEN2_KINDS, DOORBELL_BATTERY_KINDS, PEEPHOLE_CAM_KINDS, INTERCOM_KINDS)
110110
.flatMap(Set::stream).collect(Collectors.toUnmodifiableSet());
111111

112112
// light kinds

bundles/org.openhab.binding.ring/src/main/java/org/openhab/binding/ring/internal/handler/AccountHandler.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -464,10 +464,10 @@ protected void eventTick() {
464464
"There is motion at your " + lastEvents.getFirst().doorbot.description));
465465
break;
466466
}
467-
}
468-
ScheduledExecutorService service = videoExecutorService;
469-
if (service != null) {
470-
service.submit(() -> getVideo(lastEvents.getFirst()));
467+
ScheduledExecutorService service = videoExecutorService;
468+
if (service != null) {
469+
service.submit(() -> getVideo(lastEvents.getFirst()));
470+
}
471471
}
472472
}
473473
} else {

0 commit comments

Comments
 (0)