From 21ab99eedcdad203ccc6deb619e90cb0d73b9288 Mon Sep 17 00:00:00 2001 From: Jason Austin Date: Thu, 29 Jul 2021 13:04:37 +0100 Subject: [PATCH] adds T8220-Z --- enums/device_type.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/enums/device_type.js b/enums/device_type.js index 5022eaa..e8e610b 100644 --- a/enums/device_type.js +++ b/enums/device_type.js @@ -20,6 +20,7 @@ const deviceType = { INDOOR_CAM_1080P_PAN_TILT: 'T8411', MOTION_SENSOR: 'T8910', VIDEO_DOORBELL_1080P_BATTERY: 'T8220', + VIDEO_DOORBELL_1080P_BATTERY_Z: 'T8220-Z', VIDEO_DOORBELL_1080P_BATTERY2: 'T8222', VIDEO_DOORBELL_1080P_BATTERY2_Z: 'T8222-Z', VIDEO_DOORBELL_1080P_POWERED: 'T8221', @@ -139,6 +140,13 @@ const capabilities = { NotificationType.THUMBNAIL, SensorType.BATTERY_PERCENTAGE, ], + [deviceType.VIDEO_DOORBELL_1080P_BATTERY_Z]: [ + NotificationType.EVENT_MOTION_DETECTED, + NotificationType.EVENT_PERSON_DETECTED, + NotificationType.EVENT_DOORBELL_PRESSED, + NotificationType.THUMBNAIL, + SensorType.BATTERY_PERCENTAGE, + ], [deviceType.VIDEO_DOORBELL_1080P_BATTERY2]: [ NotificationType.EVENT_MOTION_DETECTED, NotificationType.EVENT_PERSON_DETECTED,