Skip to content

Commit

Permalink
Merge pull request #82 from MaxWinterstein/patch-4
Browse files Browse the repository at this point in the history
Add T8222-Z
  • Loading branch information
matijse authored Jul 7, 2021
2 parents 00b03f4 + a2f1b3b commit b8fb36e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions enums/device_type.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const deviceType = {
MOTION_SENSOR: 'T8910',
VIDEO_DOORBELL_1080P_BATTERY: 'T8220',
VIDEO_DOORBELL_1080P_BATTERY2: 'T8222',
VIDEO_DOORBELL_1080P_BATTERY2_Z: 'T8222-Z',
VIDEO_DOORBELL_1080P_POWERED: 'T8221',
VIDEO_DOORBELL_1080P_POWERED2: 'T8201',
VIDEO_DOORBELL_2K_BATTERY: 'T8210',
Expand Down Expand Up @@ -145,6 +146,13 @@ const capabilities = {
NotificationType.THUMBNAIL,
SensorType.BATTERY_PERCENTAGE,
],
[deviceType.VIDEO_DOORBELL_1080P_BATTERY2_Z]: [
NotificationType.EVENT_MOTION_DETECTED,
NotificationType.EVENT_PERSON_DETECTED,
NotificationType.EVENT_DOORBELL_PRESSED,
NotificationType.THUMBNAIL,
SensorType.BATTERY_PERCENTAGE,
],
[deviceType.VIDEO_DOORBELL_1080P_POWERED]: [
NotificationType.EVENT_MOTION_DETECTED,
NotificationType.EVENT_PERSON_DETECTED,
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ are automatically discovered in Home Assistant.
| Indoor Cam Pan & Tilt 1080P (T8411) | :heavy_check_mark: | :heavy_check_mark: | :x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: |
| Indoor Cam Pan & Tilt 2K (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 (battery) (T8220 / T8222 / T8222-Z) | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: | :x: | :x: | :heavy_check_mark: | :heavy_check_mark: |
| 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: |
Expand Down

0 comments on commit b8fb36e

Please sign in to comment.