소스 검색

fix (spaelectrics_light_controller): make zone names optional

In original log, the names were reported, but later they seem not to be,
leading to the device not being detected.

Issue #3869
Jason Rumney 6 달 전
부모
커밋
f036781ad0
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      custom_components/tuya_local/devices/spaelectrics_light_controller.yaml

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

@@ -61,6 +61,7 @@ entities:
             value: Spring
       - id: 103
         type: string
+        optional: true
         name: zone_name
   - entity: light
     name: Zone 2
@@ -119,6 +120,7 @@ entities:
             value: Spring
       - id: 104
         type: string
+        optional: true
         name: zone_name
   - entity: switch
     name: Zone 1