소스 검색

ZY-M201 presence sensor: make sensitivity settings optional

Sometimes the device is not reporting these

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

+ 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