소스 검색

Loycco sound nightlight: mark brightness as optional.

When light is off, the device does not report brightness.  Mark as
optional to improve detection chances.

issue #1042
Jason Rumney 2 년 전
부모
커밋
5cbf094c6c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      custom_components/tuya_local/devices/loycco_sound_nightlight.yaml

+ 1 - 0
custom_components/tuya_local/devices/loycco_sound_nightlight.yaml

@@ -27,6 +27,7 @@ primary_entity:
     - id: 6
       name: brightness
       type: integer
+      optional: true
       range:
         min: 10
         max: 1000