Просмотр исходного кода

Hornbill Y4: reorder entities

Reorder entities to avoid a lint warning about indentation when the final
entities in the file are commented out. No other purpose to this change
other than to shut the tools up.
Jason Rumney 1 год назад
Родитель
Сommit
789b5c006c
1 измененных файлов с 15 добавлено и 15 удалено
  1. 15 15
      custom_components/tuya_local/devices/hornbill_y4_smart_lock.yaml

+ 15 - 15
custom_components/tuya_local/devices/hornbill_y4_smart_lock.yaml

@@ -414,21 +414,6 @@ entities:
         type: boolean
         type: boolean
         name: switch
         name: switch
         optional: true
         optional: true
-  # [Automatic Lock] is used to set the delay time from unlocking the device to
-  # automatically locking the device. The setting range is 1s to 30min.
-  - entity: number
-    name: Automatic Lock Delay
-    icon: "mdi:lock-clock"
-    category: config
-    dps:
-      - id: 36
-        type: integer
-        name: value
-        optional: true
-        unit: s
-        range:
-          min: 1
-          max: 1800
   # [Device Status] If the device has door opening and closing status
   # [Device Status] If the device has door opening and closing status
   # detection, it is used to report the door opening and closing status. Only
   # detection, it is used to report the door opening and closing status. Only
   # enable this dp if this function is supported.
   # enable this dp if this function is supported.
@@ -474,3 +459,18 @@ entities:
   #           value: 10s
   #           value: 10s
   #         - dps_val: 12s
   #         - dps_val: 12s
   #           value: 12s
   #           value: 12s
+  # [Automatic Lock] is used to set the delay time from unlocking the device to
+  # automatically locking the device. The setting range is 1s to 30min.
+  - entity: number
+    name: Automatic Lock Delay
+    icon: "mdi:lock-clock"
+    category: config
+    dps:
+      - id: 36
+        type: integer
+        name: value
+        optional: true
+        unit: s
+        range:
+          min: 1
+          max: 1800