Răsfoiți Sursa

Lublueblu SL60D: mark activate, charge, direction_control optional

These values are not always repoted by the device, improve detection by marking
them as optional.

Issue #1829
Jason Rumney 1 an în urmă
părinte
comite
eaa680d4e8

+ 3 - 0
custom_components/tuya_local/devices/lublueblu_sl60d_vacuum.yaml

@@ -11,9 +11,11 @@ primary_entity:
     - id: 2
       type: boolean
       name: activate
+      optional: true
     - id: 3
       type: boolean
       name: charge
+      optional: true
     - id: 4
       type: string
       name: command
@@ -72,6 +74,7 @@ primary_entity:
     - id: 12
       type: string
       name: direction_control
+      optional: true
       mapping:
         - dps_val: forward
           value: forward