Forráskód Böngészése

Fix indentation errors

Onvisoc 2 éve
szülő
commit
88ed943b98
1 módosított fájl, 49 hozzáadás és 49 törlés
  1. 49 49
      custom_components/tuya_local/devices/soho_air_purifier.yaml

+ 49 - 49
custom_components/tuya_local/devices/soho_air_purifier.yaml

@@ -45,23 +45,23 @@ secondary_entities:
     translation_key: child_lock
     category: config
     dps:
-     - id: 7
-       type: boolean
-       name: lock
+      - id: 7
+        type: boolean
+        name: lock
   - entity: light
     translation_key: backlight
     category: config
     dps:
-     - id: 8
-       type: boolean
-       name: switch
+      - id: 8
+        type: boolean
+        name: switch
   - entity: switch
     translation_key: keytone
     category: config
     dps:
-     - id: 101
-       type: boolean
-       name: switch
+      - id: 101
+        type: boolean
+        name: switch
   - entity: select
     translation_key: timer
     category: config
@@ -70,51 +70,51 @@ secondary_entities:
         type: string
         name: option
         mapping:
-         - dps_val: cancel
-           value: "Off"
-         - dps_val: 1h
-           value: 1 hour
-         - dps_val: 2h
-           value: 2 hours
-         - dps_val: 3h
-           value: 3 hours
-         - dps_val: 4h
-           value: 4 hours
-         - dps_val: 5h
-           value: 5 hours
-         - dps_val: 6h
-           value: 6 hours
-         - dps_val: 7h
-           value: 7 hours
-         - dps_val: 8h
-           value: 8 hours
-         - dps_val: 9h
-           value: 9 hours
-         - dps_val: 10h
-           value: 10 hours
-         - dps_val: 11h
-           value: 11 hours
-         - dps_val: 12h
-           value: 12 hours
+          - dps_val: cancel
+            value: "Off"
+          - dps_val: 1h
+            value: 1 hour
+          - dps_val: 2h
+            value: 2 hours
+          - dps_val: 3h
+            value: 3 hours
+          - dps_val: 4h
+            value: 4 hours
+          - dps_val: 5h
+            value: 5 hours
+          - dps_val: 6h
+            value: 6 hours
+          - dps_val: 7h
+            value: 7 hours
+          - dps_val: 8h
+            value: 8 hours
+          - dps_val: 9h
+            value: 9 hours
+          - dps_val: 10h
+            value: 10 hours
+          - dps_val: 11h
+            value: 11 hours
+          - dps_val: 12h
+            value: 12 hours
   - entity: sensor
     name: Air Quality
     class: enum
     icon: mdi:air-filter
     dps:
-     - id: 21
-       type: string
-       name: sensor
-       mapping:
-        - dps_val: excellent
-          value: Excellent
-        - dps_val: good
-          value: Good
-        - dps_val: difference
-          value: Bad
+      - id: 21
+        type: string
+        name: sensor
+        mapping:
+          - dps_val: excellent
+            value: Excellent
+          - dps_val: good
+            value: Good
+          - dps_val: difference
+            value: Bad
   - entity: sensor
     class: pm25
     dps:
-     - id: 2
-       type: integer
-       name: sensor
-       unit: µg/m³
+      - id: 2
+        type: integer
+        name: sensor
+        unit: µg/m³