Ver código fonte

feat(cleanair_ca707_dehumidifier): support Breville LAD708

- additional dps for filter replacement and remaining life.
- child lock missing but already optional/hidden if unavailable

Issue #6124
Jason Rumney 2 meses atrás
pai
commit
5057b4ae42

+ 38 - 0
custom_components/tuya_local/devices/cleanair_ca707_dehumidifier.yaml

@@ -7,6 +7,9 @@ products:
   - id: 8ouns2qnxozm1qqp
     manufacturer: Clean Air Optima
     model: CA-707 Smart 2023 V2
+  - id: g1xw9ns5vqu943uj
+    manufacturer: Breville
+    model: LAD708
 entities:
   #
   # Main
@@ -248,3 +251,38 @@ entities:
           - dps_val: null
             value: false
           - value: true
+  - entity: binary_sensor
+    name: Filter
+    class: problem
+    hidden: unavailable
+    dps:
+      - id: 106
+        type: boolean
+        optional: true
+        name: sensor
+      - id: 106
+        type: boolean
+        optional: true
+        name: available
+        mapping:
+          - dps_val: null
+            value: false
+          - value: true
+  - entity: sensor
+    translation_key: filter_life
+    class: duration
+    hidden: unavailable
+    dps:
+      - id: 107
+        type: integer
+        optional: true
+        name: sensor
+        unit: h
+      - id: 107
+        type: integer
+        optional: true
+        name: available
+        mapping:
+          - dps_val: null
+            value: false
+          - value: true