Просмотр исходного кода

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 4 месяцев назад
Родитель
Сommit
f036781ad0

+ 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