Просмотр исходного кода

feat(lindasmart_7s_doorbell): add compatible Genio 3MP video doorbell

Additional tamper sensor on dp 250 (not present on Linda Smart)
 - there is also a "alarm_mode" setting on 243, but only accepts "0" as a value so not implemented

The device returns no data during matching, so relies on product id and cloud config flow.

Issue #5383
Jason Rumney 1 неделя назад
Родитель
Сommit
ed2407cf46
1 измененных файлов с 11 добавлено и 0 удалено
  1. 11 0
      custom_components/tuya_local/devices/lindasmart_7s_doorbell.yaml

+ 11 - 0
custom_components/tuya_local/devices/lindasmart_7s_doorbell.yaml

@@ -3,6 +3,9 @@ products:
   - id: thmj9wewi8yhouo4
     manufacturer: Linda Smart
     model: 7S
+  - id: 5hyl7fxwr0vgpod8
+    manufacturer: Genio
+    model: 3MP
 entities:
   - entity: event
     class: motion
@@ -361,3 +364,11 @@ entities:
             value: Wireless bell
           - dps_val: "3"
             value: "No bell"
+  - entity: binary_sensor
+    class: tamper
+    category: diagnostic
+    dps:
+      - id: 250
+        type: boolean
+        optional: true
+        name: sensor