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

Add files via upload

reversed bitfield flag order.
TwoWheelPro 2 лет назад
Родитель
Сommit
cca8e9a91b

+ 17 - 6
custom_components/tuya_local/devices/holman_wx8_irrigation_controller.yaml

@@ -139,8 +139,8 @@ secondary_entities:
         type: bitfield
         mapping:
           - dps_val: 1
-            value: true
-          - value: false
+            value: false
+          - value: true
   - entity: binary_sensor
     name: Power supply
     class: problem
@@ -151,8 +151,8 @@ secondary_entities:
         type: bitfield
         mapping:
           - dps_val: 2
-            value: true
-          - value: false
+            value: false
+          - value: true
   - entity: binary_sensor
     name: Watering
     dps:
@@ -174,6 +174,17 @@ secondary_entities:
           - dps_val: 8
             value: true
           - value: false
+  - entity: binary_sensor
+    name: reserved
+    category: diagnostic
+    dps:
+      - id: 120
+        name: sensor
+        type: bitfield
+        mapping:
+          - dps_val: 16
+            value: true
+          - value: false          
   - entity: binary_sensor
     name: Evie
     category: diagnostic
@@ -196,8 +207,8 @@ secondary_entities:
         type: bitfield
         mapping:
           - dps_val: 64
-            value: true
-          - value: false
+            value: false
+          - value: true
   - entity: binary_sensor
     name: Evie sensor
     class: moisture