Bladeren bron

making DPID 10 and 20 optional

Robert Campo 1 jaar geleden
bovenliggende
commit
9b00f756d0
1 gewijzigde bestanden met toevoegingen van 3 en 1 verwijderingen
  1. 3 1
      custom_components/tuya_local/devices/zemismart_roller_shade_zm25r2.yaml

+ 3 - 1
custom_components/tuya_local/devices/zemismart_roller_shade_zm25r2.yaml

@@ -100,6 +100,7 @@ secondary_entities:
       - id: 10
         name: sensor
         type: integer
+        optional: true
         unit: ms
   - entity: select
     name: Click Control
@@ -109,9 +110,10 @@ secondary_entities:
       - id: 20
         name: option
         type: string
+        optional: true
         mapping:
           - dps_val: continuous
-            value: continuous
+            value: Continuous
           - dps_val: Intermittently
             value: Intermittently
   - entity: button