Selaa lähdekoodia

Add support for Silvercrest HF-6602T air fryer

Issue #2298
Jason Rumney 1 vuosi sitten
vanhempi
commit
5ab92d01b3

+ 1 - 1
ACKNOWLEDGEMENTS.md

@@ -665,7 +665,7 @@ 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.
 - [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.
-- [ekalle-swe](https://github.com/ekalle-swe) for assisting with support for Loeffen LFIM6000 ice cube maker, Cleverio AP100 air purifier and CD200 video doorbell.
+- [ekalle-swe](https://github.com/ekalle-swe) for assisting with support for Loeffen LFIM6000 ice cube maker, Cleverio AP100 air purifier, Cleverio CD200 video doorbell, Silvercrest HF-6602T air fryer.
 - [Athemis](https://github.com/Athemis) for contributing support for Aktobis WDH-310EK dehumidifier.
 - [carmelo42](https://github.com/carmelo42) for contributing support for Fujicool Yuzu heat pump.
 - [dkvk](https://github.com/dkvk) for contributing support for Malmbergs single and dual dimmer modules.

+ 1 - 0
DEVICES.md

@@ -368,6 +368,7 @@
 - Setti+ KT950W smart kettle
 - Silvercrest 1.7L smart kettle
 - Silvercrest coffee maker
+- Silvercrest HF-6602T air fryer
 - Ultenic K10 air fryer
 - Weekett smart kettle
 

+ 244 - 0
custom_components/tuya_local/devices/silvercrest_hf6602t_airfryer.yaml

@@ -0,0 +1,244 @@
+name: Air fryer
+products:
+  - id: rmywxak3angdgh0d
+    name: SilverCrest HF-6602T
+primary_entity:
+  entity: switch
+  icon: "mdi:toaster-oven"
+  category: config
+  dps:
+    - id: 1
+      type: boolean
+      name: switch
+    - id: 11
+      type: string
+      optional: true
+      name: multistep
+    - id: 17
+      type: integer
+      name: cooking_history
+secondary_entities:
+  - entity: button
+    name: Start
+    icon: "mdi:play"
+    dps:
+      - id: 2
+        type: boolean
+        name: button
+  - entity: button
+    name: Pause
+    icon: "mdi:pause"
+    dps:
+      - id: 13
+        type: boolean
+        name: button
+  - entity: select
+    name: Mode
+    translation_key: recipe
+    dps:
+      - id: 3
+        type: string
+        name: option
+        mapping:
+          - dps_val: fish
+            value: fish
+          - dps_val: cake
+            value: cake
+          - dps_val: vegetable
+            value: vegetables
+          - dps_val: bacon
+            value: bacon
+          - dps_val: drumsticks
+            value: chicken_drumsticks
+          - dps_val: chips
+            value: fries
+          - dps_val: roast_chicken
+            value: chicken
+          - dps_val: steak
+            value: steak
+          - dps_val: shrimp
+            value: shrimp
+          - dps_val: bread
+            value: bread
+          - dps_val: custom
+            value: custom
+  - entity: number
+    name: Cloud recipe
+    category: config
+    icon: "mdi:cloud-print"
+    dps:
+      - id: 4
+        type: integer
+        name: value
+        range:
+          min: 0
+          max: 999999
+  - entity: sensor
+    name: Status
+    class: enum
+    dps:
+      - id: 5
+        type: string
+        name: sensor
+        mapping:
+          - dps_val: standby
+            value: Standby
+          - dps_val: setting
+            value: Setting
+          - dps_val: pre_heating
+            value: Pre-heating
+          - dps_val: keep_warm
+            value: Keeping warm
+          - dps_val: cooking
+            value: Cooking
+          - dps_val: scheduled
+            value: Scheduled
+          - dps_val: pausing
+            value: Paused
+          - dps_val: completed
+            value: Done
+          - dps_val: preheat_done
+            value: At temperature
+  - entity: number
+    class: temperature
+    dps:
+      - id: 6
+        type: integer
+        name: value
+        unit: C
+        range:
+          min: 60
+          max: 200
+        mapping:
+          - step: 5
+  - entity: sensor
+    class: temperature
+    dps:
+      - id: 7
+        type: integer
+        optional: true
+        name: sensor
+        unit: C
+        class: measurement
+  - entity: number
+    translation_key: timer
+    category: config
+    dps:
+      - id: 8
+        type: integer
+        name: value
+        unit: min
+        range:
+          min: 0
+          max: 180
+  - entity: number
+    name: Cooking time
+    translation_key: timer
+    dps:
+      - id: 9
+        type: integer
+        name: value
+        unit: min
+        range:
+          min: 0
+          max: 60
+  - entity: sensor
+    translation_key: time_remaining
+    class: duration
+    dps:
+      - id: 10
+        type: integer
+        name: sensor
+        unit: min
+  - entity: binary_sensor
+    class: problem
+    category: diagnostic
+    dps:
+      - id: 12
+        type: bitfield
+        name: sensor
+        mapping:
+          - dps_val: 0
+            value: false
+          - value: true
+      - id: 12
+        type: bitfield
+        name: fault_code
+  - entity: select
+    translation_key: temperature_unit
+    category: config
+    dps:
+      - id: 14
+        type: string
+        optional: true
+        name: option
+        mapping:
+          - dps_val: c
+            value: celsius
+          - dps_val: f
+            value: fahrenheit
+          - dps_val: null
+            value: celsius
+            hidden: true
+  - entity: switch
+    name: Preheat
+    icon: "mdi:toaster-oven"
+    dps:
+      - id: 15
+        type: boolean
+        name: switch
+  - entity: event
+    name: Reminder
+    dps:
+      - id: 101
+        type: string
+        name: event
+        optional: true
+        mapping:
+          - dps_val: "0"
+            value: null
+          - dps_val: "1"
+            value: flip
+          - dps_val: "2"
+            value: done
+  - entity: switch
+    name: Keep warm
+    icon: "mdi:heat-wave"
+    dps:
+      - id: 102
+        type: boolean
+        name: switch
+  - entity: sensor
+    name: Timer remaining
+    translation_key: time_remaining
+    class: duration
+    category: diagnostic
+    dps:
+      - id: 104
+        type: integer
+        optional: true
+        name: sensor
+        unit: min
+        class: measurement
+  - entity: number
+    name: Shake
+    category: config
+    icon: "mdi:vibrate"
+    dps:
+      - id: 105
+        type: integer
+        name: value
+        unit: min
+        range:
+          min: 0
+          max: 60
+  - entity: sensor
+    name: Cooling countdown
+    translation_key: time_remaining
+    class: duration
+    category: diagnostic
+    dps:
+      - id: 107
+        type: integer
+        name: sensor
+        unit: s

+ 1 - 0
custom_components/tuya_local/icons.json

@@ -126,6 +126,7 @@
                     "onion_rings": "mdi:bullseye",
                     "bacon": "mdi:food-steak",
                     "cake": "mdi:cake-variant",
+                    "bread": "mdi:baguette",
                     "toast": "mdi:bread-slice",
                     "custom": "mdi:food-fork-drink",
                     "cloud_recipe": "mdi:cloud-print",

+ 1 - 0
custom_components/tuya_local/translations/bg.json

@@ -337,6 +337,7 @@
                     "onion_rings": "Лукови пръстени",
                     "bacon": "Сладко",
                     "cake": "Торта",
+                    "bread": "Хляб",
                     "toast": "Тост",
                     "custom": "Потребителски",
                     "cloud_recipe": "Облак рецепта",

+ 1 - 0
custom_components/tuya_local/translations/cz.json

@@ -337,6 +337,7 @@
                     "onion_rings": "Cibulové kroužky",
                     "bacon": "Slanina",
                     "cake": "Koláč",
+                    "bread": "Chléb",
                     "toast": "Topinka",
                     "custom": "Vlastní",
                     "cloud_recipe": "Recept z cloudu",

+ 1 - 0
custom_components/tuya_local/translations/de.json

@@ -337,6 +337,7 @@
                     "onion_rings": "Zwiebelringe",
                     "bacon": "Speck",
                     "cake": "Kuchen",
+                    "bread": "Brot",
                     "toast": "Toast",
                     "custom": "Benutzerdefiniert",
                     "cloud_recipe": "Cloud-Rezept",

+ 1 - 0
custom_components/tuya_local/translations/el.json

@@ -337,6 +337,7 @@
                     "onion_rings": "Κρεμμύδια",
                     "bacon": "Μπέικον",
                     "cake": "Κέικ",
+                    "bread": "Ψωμί",
                     "toast": "Ψωμί",
                     "custom": "Προσαρμοσμένο",
                     "cloud_recipe": "Συνταγή από το cloud",

+ 1 - 0
custom_components/tuya_local/translations/en.json

@@ -384,6 +384,7 @@
                     "onion_rings": "Onion Rings",
                     "bacon": "Bacon",
                     "cake": "Cake",
+                    "bread": "Bread",
                     "toast": "Toast",
                     "custom": "Custom",
                     "cloud_recipe": "Cloud Recipe",

+ 1 - 0
custom_components/tuya_local/translations/es.json

@@ -377,6 +377,7 @@
                     "onion_rings": "Aros de cebolla",
                     "bacon": "Tocino",
                     "cake": "Pastel",
+                    "bread": "Pan",
                     "toast": "Tostada",
                     "custom": "Personalizado",
                     "cloud_recipe": "Receta de la nube",

+ 1 - 0
custom_components/tuya_local/translations/fr.json

@@ -337,6 +337,7 @@
                     "onion_rings": "Rondelles d'oignon",
                     "bacon": "Bacon",
                     "cake": "Gâteau",
+                    "bread": "Pain",
                     "toast": "Toast",
                     "custom": "Personnalisé",
                     "cloud_recipe": "Recette Cloud",

+ 1 - 0
custom_components/tuya_local/translations/hu.json

@@ -337,6 +337,7 @@
                     "onion_rings": "Hagymakarikák",
                     "bacon": "Szalonna",
                     "cake": "Sütemény",
+                    "bread": "Kenyér",
                     "toast": "Pirítós",
                     "custom": "Egyéni",
                     "cloud_recipe": "Felhő recept",

+ 1 - 0
custom_components/tuya_local/translations/id.json

@@ -337,6 +337,7 @@
                     "onion_rings": "Cincang bawang",
                     "bacon": "Bacon",
                     "cake": "Kue",
+                    "bread": "Roti",
                     "toast": "Roti panggang",
                     "custom": "Kustom",
                     "cloud_recipe": "Resep awan",

+ 1 - 0
custom_components/tuya_local/translations/it.json

@@ -337,6 +337,7 @@
                     "onion_rings": "Anelli di cipolla",
                     "bacon": "Pancetta",
                     "cake": "Torta",
+                    "bread": "Pane",
                     "toast": "Tostare",
                     "custom": "Personalizzato",
                     "cloud_recipe": "Ricetta cloud",

+ 1 - 0
custom_components/tuya_local/translations/ja.json

@@ -337,6 +337,7 @@
                     "onion_rings": "オニオンリング",
                     "bacon": "ベーコン",
                     "cake": "ケーキ",
+                    "bread": "パン",
                     "toast": "トースト",
                     "custom": "カスタム",
                     "cloud_recipe": "クラウドレシピ",

+ 1 - 0
custom_components/tuya_local/translations/no-NB.json

@@ -337,6 +337,7 @@
                     "onion_rings": "Løkringer",
                     "bacon": "Bacon",
                     "cake": "Kake",
+                    "bread": "Brød",
                     "toast": "Toast",
                     "custom": "Egendefinert",
                     "cloud_recipe": "Skyoppskrift",

+ 1 - 0
custom_components/tuya_local/translations/pl.json

@@ -337,6 +337,7 @@
                     "onion_rings": "Kolcze cebuli",
                     "bacon": "Boczek",
                     "cake": "Ciasto",
+                    "bread": "Chleb",
                     "toast": "Tost",
                     "custom": "Niestandardowy",
                     "cloud_recipe": "Przepis z chmury",

+ 1 - 0
custom_components/tuya_local/translations/pt-BR.json

@@ -337,6 +337,7 @@
                     "onion_rings": "Anéis de cebola",
                     "bacon": "Bacon",
                     "cake": "Bolo",
+                    "bread": "Pão",
                     "toast": "Torrada",
                     "custom": "Personalizado",
                     "cloud_recipe": "Receita da nuvem",

+ 1 - 0
custom_components/tuya_local/translations/ru.json

@@ -337,6 +337,7 @@
                     "onion_rings": "Луковые кольца",
                     "bacon": "Бекон",
                     "cake": "Торт",
+                    "bread": "Хлеб",
                     "toast": "Тост",
                     "custom": "Пользовательский",
                     "cloud_recipe": "Облако",

+ 1 - 0
custom_components/tuya_local/translations/uk.json

@@ -337,6 +337,7 @@
                     "onion_rings": "Цибуляні кільця",
                     "bacon": "Бекон",
                     "cake": "Торт",
+                    "bread": "Хліб",
                     "toast": "Тост",
                     "custom": "Користувацький",
                     "cloud_recipe": "Хмарний рецепт",

+ 1 - 0
custom_components/tuya_local/translations/ur.json

@@ -337,6 +337,7 @@
                     "onion_rings": "پیاز کے چھلکے",
                     "bacon": "بیکن",
                     "cake": "کیک",
+                    "bread": "روٹی",
                     "toast": "ٹوسٹ",
                     "custom": "اپنی مرضی",
                     "cloud_recipe": "کلاؤڈ ریسیپی",

+ 1 - 0
custom_components/tuya_local/translations/zh-Hans.json

@@ -384,6 +384,7 @@
                     "onion_rings": "洋葱圈",
                     "bacon": "培根",
                     "cake": "蛋糕",
+                    "bread": "面包",
                     "toast": "吐司",
                     "custom": "自定义",
                     "cloud_recipe": "云菜谱",

+ 1 - 0
custom_components/tuya_local/translations/zh-Hant.json

@@ -337,6 +337,7 @@
                     "onion_rings": "洋蔥圈",
                     "bacon": "培根",
                     "cake": "蛋糕",
+                    "bread": "麵包",
                     "toast": "吐司",
                     "custom": "自訂",
                     "cloud_recipe": "雲端食譜",