Skip to content

Commit

Permalink
Add support for Silvercrest HF-6602T air fryer
Browse files Browse the repository at this point in the history
Issue #2298
  • Loading branch information
make-all committed Sep 23, 2024
1 parent 4d2547c commit 5ab92d0
Show file tree
Hide file tree
Showing 23 changed files with 266 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ACKNOWLEDGEMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions DEVICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
244 changes: 244 additions & 0 deletions custom_components/tuya_local/devices/silvercrest_hf6602t_airfryer.yaml
Original file line number Diff line number Diff line change
@@ -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 change: 1 addition & 0 deletions custom_components/tuya_local/icons.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions custom_components/tuya_local/translations/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@
"onion_rings": "Лукови пръстени",
"bacon": "Сладко",
"cake": "Торта",
"bread": "Хляб",
"toast": "Тост",
"custom": "Потребителски",
"cloud_recipe": "Облак рецепта",
Expand Down
1 change: 1 addition & 0 deletions custom_components/tuya_local/translations/cz.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions custom_components/tuya_local/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@
"onion_rings": "Zwiebelringe",
"bacon": "Speck",
"cake": "Kuchen",
"bread": "Brot",
"toast": "Toast",
"custom": "Benutzerdefiniert",
"cloud_recipe": "Cloud-Rezept",
Expand Down
1 change: 1 addition & 0 deletions custom_components/tuya_local/translations/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@
"onion_rings": "Κρεμμύδια",
"bacon": "Μπέικον",
"cake": "Κέικ",
"bread": "Ψωμί",
"toast": "Ψωμί",
"custom": "Προσαρμοσμένο",
"cloud_recipe": "Συνταγή από το cloud",
Expand Down
1 change: 1 addition & 0 deletions custom_components/tuya_local/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@
"onion_rings": "Onion Rings",
"bacon": "Bacon",
"cake": "Cake",
"bread": "Bread",
"toast": "Toast",
"custom": "Custom",
"cloud_recipe": "Cloud Recipe",
Expand Down
1 change: 1 addition & 0 deletions custom_components/tuya_local/translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions custom_components/tuya_local/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@
"onion_rings": "Rondelles d'oignon",
"bacon": "Bacon",
"cake": "Gâteau",
"bread": "Pain",
"toast": "Toast",
"custom": "Personnalisé",
"cloud_recipe": "Recette Cloud",
Expand Down
1 change: 1 addition & 0 deletions custom_components/tuya_local/translations/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions custom_components/tuya_local/translations/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@
"onion_rings": "Cincang bawang",
"bacon": "Bacon",
"cake": "Kue",
"bread": "Roti",
"toast": "Roti panggang",
"custom": "Kustom",
"cloud_recipe": "Resep awan",
Expand Down
1 change: 1 addition & 0 deletions custom_components/tuya_local/translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@
"onion_rings": "Anelli di cipolla",
"bacon": "Pancetta",
"cake": "Torta",
"bread": "Pane",
"toast": "Tostare",
"custom": "Personalizzato",
"cloud_recipe": "Ricetta cloud",
Expand Down
1 change: 1 addition & 0 deletions custom_components/tuya_local/translations/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@
"onion_rings": "オニオンリング",
"bacon": "ベーコン",
"cake": "ケーキ",
"bread": "パン",
"toast": "トースト",
"custom": "カスタム",
"cloud_recipe": "クラウドレシピ",
Expand Down
1 change: 1 addition & 0 deletions custom_components/tuya_local/translations/no-NB.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@
"onion_rings": "Løkringer",
"bacon": "Bacon",
"cake": "Kake",
"bread": "Brød",
"toast": "Toast",
"custom": "Egendefinert",
"cloud_recipe": "Skyoppskrift",
Expand Down
1 change: 1 addition & 0 deletions custom_components/tuya_local/translations/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@
"onion_rings": "Kolcze cebuli",
"bacon": "Boczek",
"cake": "Ciasto",
"bread": "Chleb",
"toast": "Tost",
"custom": "Niestandardowy",
"cloud_recipe": "Przepis z chmury",
Expand Down
1 change: 1 addition & 0 deletions custom_components/tuya_local/translations/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions custom_components/tuya_local/translations/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@
"onion_rings": "Луковые кольца",
"bacon": "Бекон",
"cake": "Торт",
"bread": "Хлеб",
"toast": "Тост",
"custom": "Пользовательский",
"cloud_recipe": "Облако",
Expand Down
1 change: 1 addition & 0 deletions custom_components/tuya_local/translations/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@
"onion_rings": "Цибуляні кільця",
"bacon": "Бекон",
"cake": "Торт",
"bread": "Хліб",
"toast": "Тост",
"custom": "Користувацький",
"cloud_recipe": "Хмарний рецепт",
Expand Down
Loading

0 comments on commit 5ab92d0

Please sign in to comment.