Browse Source

fix(kogan_*_kettle): move GK2009CT product to correct config

- add fault sensor

Issue #5792
Jason Rumney 8 hours ago
parent
commit
04f02d9443

+ 0 - 2
custom_components/tuya_local/devices/kogan_glass_1_7l_kettle.yaml

@@ -2,8 +2,6 @@ name: Kettle
 products:
   - id: GXoLAzy1gQUbckKe
     manufacturer: Kogan
-  - id: 7occ66lr74vfznwt
-    manufacturer: Kogan
 entities:
   - entity: climate
     dps:

+ 21 - 0
custom_components/tuya_local/devices/kogan_kasmcdsktla_kettle.yaml

@@ -4,6 +4,9 @@ products:
     manufacturer: Kogan
     model: Double wall 1.7L glass kettle
     model_id: KASMCDSKTLA
+  - id: 7occ66lr74vfznwt
+    manufacturer: Kogan
+    model: GK2009CT
 entities:
   - entity: water_heater
     translation_key: kettle
@@ -61,3 +64,21 @@ entities:
             value: honey_water
           - dps_val: milk_powder
             value: infant_formula
+  - entity: binary_sensor
+    class: problem
+    category: diagnostic
+    dps:
+      - id: 10
+        type: bitfield
+        optional: true
+        name: sensor
+        mapping:
+          - dps_val: 0
+            value: false
+          - dps_val: null
+            value: false
+          - value: true
+      - id: 10
+        type: bitfield
+        optional: true
+        name: fault_code