Преглед изворни кода

switch category to config to comply to HA standard

blakadder пре 2 година
родитељ
комит
41e2a54e61
1 измењених фајлова са 5 додато и 5 уклоњено
  1. 5 5
      custom_components/tuya_local/devices/zg205w_mmWave_presence_sensor.yaml

+ 5 - 5
custom_components/tuya_local/devices/zg205w_mmWave_presence_sensor.yaml

@@ -221,7 +221,7 @@ secondary_entities:
             step: 10
             step: 10
   - entity: number
   - entity: number
     name: Adaptive testing time
     name: Adaptive testing time
-    category: diagnostic
+    category: config
     icon: mdi:timer
     icon: mdi:timer
     hidden: true
     hidden: true
     dps:
     dps:
@@ -234,7 +234,7 @@ secondary_entities:
           max: 300
           max: 300
   - entity: switch
   - entity: switch
     name: Adaptive test
     name: Adaptive test
-    category: diagnostic
+    category: config
     icon: mdi:test-tube
     icon: mdi:test-tube
     dps:
     dps:
       - id: 114
       - id: 114
@@ -242,7 +242,7 @@ secondary_entities:
         type: boolean
         type: boolean
   - entity: button
   - entity: button
     name: Factory reset
     name: Factory reset
-    category: diagnostic
+    category: config
     icon: mdi:restore-alert
     icon: mdi:restore-alert
     dps:
     dps:
       - id: 115
       - id: 115
@@ -268,7 +268,7 @@ secondary_entities:
             value: None
             value: None
   - entity: switch
   - entity: switch
     name: Small motion self-test
     name: Small motion self-test
-    category: diagnostic
+    category: config
     icon: "mdi:test-tube"
     icon: "mdi:test-tube"
     dps:
     dps:
       - id: 117
       - id: 117
@@ -276,7 +276,7 @@ secondary_entities:
         type: boolean
         type: boolean
   - entity: switch
   - entity: switch
     name: Breathing self-test
     name: Breathing self-test
-    category: diagnostic
+    category: config
     icon: "mdi:test-tube"
     icon: "mdi:test-tube"
     dps:
     dps:
       - id: 118
       - id: 118