瀏覽代碼

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