Przeglądaj źródła

ZY-M201 presence sensor: make sensitivity settings optional

Sometimes the device is not reporting these

Issue #1515
Jason Rumney 2 lat temu
rodzic
commit
e9c1f7cc4a

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

@@ -41,6 +41,7 @@ secondary_entities:
       - id: 2
         type: integer
         name: value
+        optional: true
         range:
           min: 1
           max: 10
@@ -102,6 +103,7 @@ secondary_entities:
       - id: 111
         type: integer
         name: value
+        optional: true
         range:
           min: 1
           max: 10