Просмотр исходного кода

Add support for Loeffen LFIM6000 ice cube maker

Issue #2281
Jason Rumney 1 год назад
Родитель
Сommit
d14b9a54b1
3 измененных файлов с 56 добавлено и 0 удалено
  1. 1 0
      ACKNOWLEDGEMENTS.md
  2. 1 0
      DEVICES.md
  3. 54 0
      custom_components/tuya_local/devices/loeffen_LFIM6000_icecubemaker.yaml

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -665,3 +665,4 @@ Further device support has been made with the assistance of users. Please consid
 - [zaubara](https://github.com/zaubara) for assisting with support for Ciarra CBCS4850 range hood.
 - [zaubara](https://github.com/zaubara) for assisting with support for Ciarra CBCS4850 range hood.
 - [ap20132022](https://github.com/ap20132022) for assisting with support for Cecofry 5500 air fryer.
 - [ap20132022](https://github.com/ap20132022) for assisting with support for Cecofry 5500 air fryer.
 - [alexandrebelloni](https://github.com/alexandrebelloni) for contributing improvements to Vevor EV charger.
 - [alexandrebelloni](https://github.com/alexandrebelloni) for contributing improvements to Vevor EV charger.
+- [ekalle-swe](https://github.com/ekalle-swe) for assisting with support for Loeffen LFIM6000 ice cube maker.

+ 1 - 0
DEVICES.md

@@ -357,6 +357,7 @@
 - Inkbird IBT-26S BBQ thermometer
 - Inkbird IBT-26S BBQ thermometer
 - Inkbird sous vide cooker (also supports Silvercrest sous vide sticks)
 - Inkbird sous vide cooker (also supports Silvercrest sous vide sticks)
 - Kogan glass 1.7L smart kettle
 - Kogan glass 1.7L smart kettle
+- Leoffen LFIM6000 ice cube maker
 - Setti+ KT950W smart kettle
 - Setti+ KT950W smart kettle
 - Silvercrest 1.7L smart kettle
 - Silvercrest 1.7L smart kettle
 - Silvercrest coffee maker
 - Silvercrest coffee maker

+ 54 - 0
custom_components/tuya_local/devices/loeffen_LFIM6000_icecubemaker.yaml

@@ -0,0 +1,54 @@
+name: Ice cube maker
+products:
+  - id: 2y44i6euwk9eeiz8
+    name: Loeffen LFIM6000
+primary_entity:
+  entity: switch
+  icon: "mdi:delete-variant"
+  dps:
+    - id: 1
+      type: boolean
+      name: switch
+secondary_entities:
+  - entity: select
+    name: Ice cube size
+    icon: "mdi:cube-scan"
+    category: config
+    dps:
+      - id: 2
+        type: string
+        name: option
+        mapping:
+          - dps_val: big
+            value: Large
+          - dps_val: small
+            value: Small
+  - entity: binary_sensor
+    class: problem
+    category: diagnostic
+    dps:
+      - id: 3
+        type: bitfield
+        name: sensor
+        mapping:
+          - dps_val: 0
+            value: false
+          - value: true
+      - id: 3
+        type: bitfield
+        name: fault_code
+  - entity: switch
+    translation_key: uv_sterilization
+    category: config
+    dps:
+      - id: 101
+        type: boolean
+        name: switch
+  - entity: switch
+    name: Cleaning mode
+    icon: "mdi:silverware-clean"
+    category: config
+    dps:
+      - id: 102
+        type: boolean
+        name: switch