فهرست منبع

Moes Indoor PTZ camera: make PTZ control optional

Issue #2727
Jason Rumney 1 سال پیش
والد
کامیت
bfc7981617
1فایلهای تغییر یافته به همراه10 افزوده شده و 0 حذف شده
  1. 10 0
      custom_components/tuya_local/devices/moes_indoorptz_camera.yaml

+ 10 - 0
custom_components/tuya_local/devices/moes_indoorptz_camera.yaml

@@ -142,9 +142,11 @@ entities:
     dps:
       - id: 116
         type: boolean
+        optional: true
         name: button
       - id: 119
         type: string
+        optional: true
         name: pan_command
         mapping:
           - dps_val: "0"
@@ -173,6 +175,7 @@ entities:
     dps:
       - id: 119
         type: string
+        optional: true
         name: button
         mapping:
           - dps_val: "0"
@@ -183,6 +186,7 @@ entities:
     dps:
       - id: 119
         type: string
+        optional: true
         name: button
         mapping:
           - dps_val: "1"
@@ -193,6 +197,7 @@ entities:
     dps:
       - id: 119
         type: string
+        optional: true
         name: button
         mapping:
           - dps_val: "2"
@@ -203,6 +208,7 @@ entities:
     dps:
       - id: 119
         type: string
+        optional: true
         name: button
         mapping:
           - dps_val: "3"
@@ -213,6 +219,7 @@ entities:
     dps:
       - id: 119
         type: string
+        optional: true
         name: button
         mapping:
           - dps_val: "4"
@@ -223,6 +230,7 @@ entities:
     dps:
       - id: 119
         type: string
+        optional: true
         name: button
         mapping:
           - dps_val: "5"
@@ -233,6 +241,7 @@ entities:
     dps:
       - id: 119
         type: string
+        optional: true
         name: button
         mapping:
           - dps_val: "6"
@@ -243,6 +252,7 @@ entities:
     dps:
       - id: 119
         type: string
+        optional: true
         name: button
         mapping:
           - dps_val: "7"