From a1b6306a87fdb87779a669c44b626c8860a79641 Mon Sep 17 00:00:00 2001 From: Ryan Owen Date: Tue, 13 Apr 2021 09:05:03 -0600 Subject: [PATCH] Add T8201 model (identical to T8222) --- enums/device_type.js | 7 +++++++ readme.md | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/enums/device_type.js b/enums/device_type.js index 9198a93..750f987 100644 --- a/enums/device_type.js +++ b/enums/device_type.js @@ -19,6 +19,7 @@ const deviceType = { VIDEO_DOORBELL_1080P_BATTERY: 'T8220', VIDEO_DOORBELL_1080P_BATTERY2: 'T8222', VIDEO_DOORBELL_1080P_POWERED: 'T8221', + VIDEO_DOORBELL_1080P_POWERED2: 'T8201', VIDEO_DOORBELL_2K_BATTERY: 'T8210', VIDEO_DOORBELL_2K_POWERED: 'T8200', VIDEO_DOORBELL_2K_POWERED2: 'T8202', @@ -126,6 +127,12 @@ const capabilities = { NotificationType.EVENT_DOORBELL_PRESSED, NotificationType.THUMBNAIL, ], + [deviceType.VIDEO_DOORBELL_1080P_POWERED2]: [ + NotificationType.EVENT_MOTION_DETECTED, + NotificationType.EVENT_PERSON_DETECTED, + NotificationType.EVENT_DOORBELL_PRESSED, + NotificationType.THUMBNAIL, + ], [deviceType.VIDEO_DOORBELL_2K_BATTERY]: [ NotificationType.EVENT_MOTION_DETECTED, NotificationType.EVENT_PERSON_DETECTED, diff --git a/readme.md b/readme.md index cf84a94..aae80b1 100644 --- a/readme.md +++ b/readme.md @@ -38,7 +38,7 @@ are automatically discovered in Home Assistant. | Indoor Cam Pan & Tilt (T8410) | :heavy_check_mark: | :heavy_check_mark: | :x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: | | Motion Sensor (T8910) | :heavy_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | :heavy_check_mark: | | Eufy video doorbell 1080P (battery) (T8220 / T8222) | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: | :x: | :x: | :heavy_check_mark: | :heavy_check_mark: | -| Eufy video doorbell 1080P (powered) (T8221) | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: | :x: | :x: | :heavy_check_mark: | :x: | +| Eufy video doorbell 1080P (powered) (T8221 / T8201) | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: | :x: | :x: | :heavy_check_mark: | :x: | | Eufy video doorbell 2K (battery) (T8210) | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: | :x: | :x: | :heavy_check_mark: | :heavy_check_mark: | | Eufy video doorbell 2K (powered) (T8200 / T8202) | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: | :x: | :x: | :heavy_check_mark: | :x: |