Przeglądaj źródła

Yinmik water tester: make switches optional

Issue #2220
Jason Rumney 1 rok temu
rodzic
commit
d89809503a

+ 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