소스 검색

ZX G30 alarm: use diagnostic, not config for binary_sensor

Jason Rumney 2 년 전
부모
커밋
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
   - entity: binary_sensor
     class: plug
-    category: config
+    category: diagnostic
     dps:
       - id: 15
         type: boolean