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

ZX G30 alarm: use diagnostic, not config for binary_sensor

Jason Rumney 2 лет назад
Родитель
Сommit
7a17b5f599
1 измененных файлов с 1 добавлено и 1 удалено
  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
         name: switch
   - entity: binary_sensor
   - entity: binary_sensor
     class: plug
     class: plug
-    category: config
+    category: diagnostic
     dps:
     dps:
       - id: 15
       - id: 15
         type: boolean
         type: boolean