소스 검색

Yinmik water tester: make switches optional

Issue #2220
Jason Rumney 1 년 전
부모
커밋
d89809503a
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      custom_components/tuya_local/devices/yinmik_waterquality_tester.yaml

+ 2 - 0
custom_components/tuya_local/devices/yinmik_waterquality_tester.yaml

@@ -78,6 +78,7 @@ secondary_entities:
       - id: 102
         type: boolean
         name: switch
+        optional: true
   - entity: light
     translation_key: backlight
     category: config
@@ -116,6 +117,7 @@ secondary_entities:
       - id: 106
         type: boolean
         name: switch
+        optional: true
   - entity: number
     name: Maximum pH
     category: config