4
0
Эх сурвалжийг харах

feat(divoo_wt05): add compatible Yohgee valve

User reports that these "used to match" this config, so they should be 100% compatible,
even though the information provided does not list any dps above 111.
In case, those higher dps are made optional to aid matching, as well as adding the product id.
Jason Rumney 2 сар өмнө
parent
commit
58f275f57d

+ 6 - 0
custom_components/tuya_local/devices/diivoo_wt05.yaml

@@ -22,6 +22,8 @@ products:
   - id: jntxv3q4
     manufacturer: Insoma
     model: YZD02B,SGW02MB,SGW08MB
+  - id: qycalacn
+    manufacturer: Yohgee
 entities:
   - entity: valve
     class: water
@@ -51,6 +53,7 @@ entities:
     dps:
       - id: 113
         type: string
+        optional: true
         name: sensor
   - entity: sensor
     name: Operation 2
@@ -58,6 +61,7 @@ entities:
     dps:
       - id: 112
         type: string
+        optional: true
         name: sensor
   - entity: sensor
     name: Last use time 1
@@ -108,6 +112,7 @@ entities:
     dps:
       - id: 117
         type: string
+        optional: true
         name: option
         mapping:
           - dps_val: "OFF"
@@ -133,6 +138,7 @@ entities:
     dps:
       - id: 114
         type: string
+        optional: true
         name: option
         mapping:
           - dps_val: "OFF"