Explorar el Código

Update v330l_DU4L_petfeeder.yaml

Ezequiel Krause hace 1 año
padre
commit
f6bcba8e1a
Se han modificado 1 ficheros con 12 adiciones y 5 borrados
  1. 12 5
      custom_components/tuya_local/devices/v330l_DU4L_petfeeder.yaml

+ 12 - 5
custom_components/tuya_local/devices/v330l_DU4L_petfeeder.yaml

@@ -149,12 +149,19 @@ secondary_entities:
           - dps_val: 4
             value: true
           - value: false
-  - entity: sensor
-    name: Snapshot data
-    category: diagnostic
+  - entity: switch
+    name: Record
+    icon: "mdi:record-rec"
+    category: config
     dps:
+      - id: 113
+        type: boolean
+        optional: true
+        name: switch
+        mapping:
+          - dps_val: null
+            value: false
       - id: 115
         type: base64
-        name: sensor
+        name: snapshot_data
         optional: true
-        sensitive: true