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

feat(aeno_ek7s_kettle): support compatible Kogan model

Issue #3578
Jason Rumney 6 сар өмнө
parent
commit
a630313cd5

+ 18 - 0
custom_components/tuya_local/devices/aeno_ek7s_kettle.yaml

@@ -3,6 +3,9 @@ products:
   - id: ryy1qf80nhv1rspe
     manufacturer: Aeno
     model: EK7S
+  - id: pgruqekfbbgwtov9
+    manufacturer: Kogan
+    model: KASMTSSKTLA
 entities:
   - entity: water_heater
     translation_key: kettle
@@ -21,6 +24,7 @@ entities:
         name: current_temperature
       - id: 4
         type: string
+        optional: true
         name: temperature
         range:
           min: 40
@@ -44,6 +48,7 @@ entities:
                   max: 90
       - id: 4
         type: string
+        optional: true
         name: temp_setting_quick
         mapping:
           - dps_val: "40"
@@ -58,6 +63,7 @@ entities:
             value: 100
       - id: 6
         type: string
+        optional: true
         name: temp_boiling_quick
         mapping:
           - dps_val: "40"
@@ -157,12 +163,24 @@ entities:
             value: heating_temp
           - dps_val: boiling
             value: done
+          - dps_val: boiling_temp
+            value: done
           - dps_val: reserve_1
             value: reserve_1
           - dps_val: reserve_2
             value: reserve_2
           - dps_val: reserve_3
             value: reserve_3
+  - entity: sensor
+    translation_key: time_remaining
+    class: duration
+    category: diagnostic
+    dps:
+      - id: 18
+        type: integer
+        optional: true
+        name: sensor
+        unit: min
   - entity: binary_sensor
     class: problem
     category: diagnostic