From 59ad8de8fe685f1c0a965faa7b927232527d6060 Mon Sep 17 00:00:00 2001 From: nttntt <109796068+nttntt@users.noreply.github.com> Date: Thu, 25 Jun 2026 00:54:12 +0900 Subject: [PATCH 1/3] Add support for DUUX Blade Fan --- .../tuya_local/devices/duux_blade_fan.yaml | 96 +++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 custom_components/tuya_local/devices/duux_blade_fan.yaml diff --git a/custom_components/tuya_local/devices/duux_blade_fan.yaml b/custom_components/tuya_local/devices/duux_blade_fan.yaml new file mode 100644 index 00000000000..e5ab564f9e0 --- /dev/null +++ b/custom_components/tuya_local/devices/duux_blade_fan.yaml @@ -0,0 +1,96 @@ +name: Duux Blade fan +products: + - manufacturer: Duux + model: Duux Blade Fan +entities: + - entity: fan + translation_only_key: fan_with_presets + dps: + - id: 1 + type: boolean + name: switch + - id: 2 + type: string + name: preset_mode + mapping: + - dps_val: "0" + value: normal + - dps_val: "1" + value: nature + - dps_val: "2" + value: sleep + - id: 3 + type: integer + name: speed + range: + min: 0 + max: 30 + - entity: switch + name: Horizontal oscillation + category: config + dps: + - id: 4 + type: string + name: switch + mapping: + - dps_val: "0" + value: false + - dps_val: "1" + value: true + - entity: switch + name: Vertical oscillation + category: config + dps: + - id: 5 + type: string + name: switch + mapping: + - dps_val: "0" + value: false + - dps_val: "1" + value: true + - entity: climate + name: Desired temperature + category: config + dps: + - id: 20 + type: integer + name: temperature + unit: C + range: + min: 17 + max: 28 + - entity: select + translation_key: timer + category: config + dps: + - id: 6 + type: string + name: option + mapping: + - dps_val: "0" + value: cancel + - dps_val: "1" + value: "1h" + - dps_val: "2" + value: "2h" + - dps_val: "3" + value: "3h" + - dps_val: "4" + value: "4h" + - dps_val: "5" + value: "5h" + - dps_val: "6" + value: "6h" + - dps_val: "7" + value: "7h" + - dps_val: "8" + value: "8h" + - dps_val: "9" + value: "9h" + - dps_val: "10" + value: "10h" + - dps_val: "11" + value: "11h" + - dps_val: "12" + value: "12h" From 77670bb625d8c8783c9fd96b0b7b25712bc4ce48 Mon Sep 17 00:00:00 2001 From: nttntt <109796068+nttntt@users.noreply.github.com> Date: Thu, 25 Jun 2026 17:29:37 +0900 Subject: [PATCH 2/3] Update duux_blade_fan.yaml --- custom_components/tuya_local/devices/duux_blade_fan.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom_components/tuya_local/devices/duux_blade_fan.yaml b/custom_components/tuya_local/devices/duux_blade_fan.yaml index e5ab564f9e0..39849b6460a 100644 --- a/custom_components/tuya_local/devices/duux_blade_fan.yaml +++ b/custom_components/tuya_local/devices/duux_blade_fan.yaml @@ -1,6 +1,7 @@ name: Duux Blade fan products: - - manufacturer: Duux + - id: "" + manufacturer: Duux model: Duux Blade Fan entities: - entity: fan From 255c777ce6af361d27a9b880afbbe4bb25b3b4ca Mon Sep 17 00:00:00 2001 From: nttntt <109796068+nttntt@users.noreply.github.com> Date: Thu, 25 Jun 2026 18:09:46 +0900 Subject: [PATCH 3/3] Update duux_blade_fan.yaml --- custom_components/tuya_local/devices/duux_blade_fan.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/tuya_local/devices/duux_blade_fan.yaml b/custom_components/tuya_local/devices/duux_blade_fan.yaml index 39849b6460a..589e1d7f53c 100644 --- a/custom_components/tuya_local/devices/duux_blade_fan.yaml +++ b/custom_components/tuya_local/devices/duux_blade_fan.yaml @@ -1,6 +1,6 @@ name: Duux Blade fan products: - - id: "" + - id: bjfu3mwhhxybovvj manufacturer: Duux model: Duux Blade Fan entities: