소스 검색

Petlibro: split record into a separate switch.

The camera.record service expects to be pulling the video stream to save itself.
This camera stores locally on an SD card, so there is no need for all the
stream setup (which as far as I can tell probably involves cloud).

Issue #759
Jason Rumney 2 년 전
부모
커밋
efde0b5134
1개의 변경된 파일8개의 추가작업 그리고 4개의 파일을 삭제
  1. 8 4
      custom_components/tuya_local/devices/petlibro_camera_feeder.yaml

+ 8 - 4
custom_components/tuya_local/devices/petlibro_camera_feeder.yaml

@@ -95,10 +95,6 @@ secondary_entities:
         type: base64
         name: snapshot
         optional: true
-      - id: 150
-        type: boolean
-        name: record
-        optional: true
   - entity: switch
     name: Motion detection
     icon: "mdi:motion-sensor"
@@ -144,6 +140,14 @@ secondary_entities:
             value: Low
           - dps_val: "1"
             value: High
+  - entity: switch
+    name: Record
+    icon: "mdi:record-rec"
+    dps:
+      - id: 150
+        type: boolean
+        name: switch
+        optional: true
   - entity: select
     name: Recording mode
     icon: "mdi:video"