Jelajahi Sumber

ZX G30 alarm: use diagnostic, not config for binary_sensor

Jason Rumney 2 tahun lalu
induk
melakukan
7a17b5f599
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      custom_components/tuya_local/devices/zx_g30_alarm.yaml

+ 1 - 1
custom_components/tuya_local/devices/zx_g30_alarm.yaml

@@ -137,7 +137,7 @@ secondary_entities:
         name: switch
   - entity: binary_sensor
     class: plug
-    category: config
+    category: diagnostic
     dps:
       - id: 15
         type: boolean