Explorar el Código

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 hace 2 meses
padre
commit
58f275f57d
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      custom_components/tuya_local/devices/diivoo_wt05.yaml

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

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