Kaynağa Gözat

SC116-WZ3A camera: rename and trim whitespace

- File renamed to follow tuya-local convention
- Some entities renamed to follow HA naming convention
- whitespace trimmed

PR #3183
Jason Rumney 10 ay önce
ebeveyn
işleme
e0808cce7b

+ 9 - 9
custom_components/tuya_local/devices/smart_camera_sc116-wz3a.yaml → custom_components/tuya_local/devices/sc116wz3a_camera.yaml

@@ -21,7 +21,7 @@ entities:
       - id: 150
         type: boolean
         name: record
-        optional: true        
+        optional: true
   - entity: light
     translation_key: indicator
     category: config
@@ -399,7 +399,7 @@ entities:
           - dps_val: "2"
             value: "60Hz"
   - entity: button
-    name: PTZ Preset 1
+    name: PTZ preset 1
     icon: "mdi:numeric-1-circle"
     category: config
     dps:
@@ -412,7 +412,7 @@ entities:
             value: true
           - value: false
   - entity: button
-    name: PTZ Preset 2
+    name: PTZ preset 2
     icon: "mdi:numeric-2-circle"
     category: config
     dps:
@@ -425,7 +425,7 @@ entities:
             value: true
           - value: false
   - entity: button
-    name: PTZ Preset 3
+    name: PTZ preset 3
     icon: "mdi:numeric-3-circle"
     category: config
     dps:
@@ -438,7 +438,7 @@ entities:
             value: true
           - value: false
   - entity: button
-    name: PTZ Preset 4
+    name: PTZ preset 4
     icon: "mdi:numeric-4-circle"
     category: config
     dps:
@@ -451,7 +451,7 @@ entities:
             value: true
           - value: false
   - entity: button
-    name: Set PTZ Preset 1
+    name: Set PTZ preset 1
     icon: "mdi:numeric-1-circle-outline"
     category: config
     dps:
@@ -464,7 +464,7 @@ entities:
             value: true
           - value: false
   - entity: button
-    name: Set PTZ Preset 2
+    name: Set PTZ preset 2
     icon: "mdi:numeric-2-circle-outline"
     category: config
     dps:
@@ -477,7 +477,7 @@ entities:
             value: true
           - value: false
   - entity: button
-    name: Set PTZ Preset 3
+    name: Set PTZ preset 3
     icon: "mdi:numeric-3-circle-outline"
     category: config
     dps:
@@ -490,7 +490,7 @@ entities:
             value: true
           - value: false
   - entity: button
-    name: Set PTZ Preset 4
+    name: Set PTZ preset 4
     icon: "mdi:numeric-4-circle-outline"
     category: config
     dps: