From 3a0313835b84b8553f8a8bf5b2d5b892bb2bf6e7 Mon Sep 17 00:00:00 2001 From: Ben <44917135+BenJamesAndo@users.noreply.github.com> Date: Thu, 5 Sep 2024 22:44:48 +1000 Subject: [PATCH] Create dream_maker_feel_fan.yaml --- .../devices/dream_maker_feel_fan.yaml | 130 ++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 custom_components/tuya_local/devices/dream_maker_feel_fan.yaml diff --git a/custom_components/tuya_local/devices/dream_maker_feel_fan.yaml b/custom_components/tuya_local/devices/dream_maker_feel_fan.yaml new file mode 100644 index 0000000000..7041d9efa0 --- /dev/null +++ b/custom_components/tuya_local/devices/dream_maker_feel_fan.yaml @@ -0,0 +1,130 @@ +name: Pedestal Fan +products: + - id: lf3n6whotmyd1d1q + name: Dream Maker Feel Fan DM01 +primary_entity: + 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: "Straight" + value: normal + - dps_val: "Natural" + value: nature + - dps_val: "AI" + value: smart + - id: 3 + type: integer + name: speed + range: + min: 0 + max: 100 + - id: 5 + type: boolean + name: oscillate + +secondary_entities: + - entity: select + name: Oscillation Angle + icon: mdi:arrow-oscillating + category: config + dps: + - id: 7 + name: option + type: string + mapping: + - dps_val: 30 + value: "30°" + - dps_val: 60 + value: "60°" + - dps_val: 90 + value: "90°" + - dps_val: 120 + value: "120°" + - dps_val: 140 + value: "140°" + - entity: switch + translation_key: indicator + name: Beep + icon: mdi:bell + category: config + dps: + - id: 13 + type: boolean + name: switch + - entity: lock + translation_key: child_lock + category: config + dps: + - id: 14 + type: boolean + name: lock + - entity: switch + name: Lights + icon: mdi:lightbulb + category: config + dps: + - id: 15 + type: boolean + name: switch + - entity: sensor + class: temperature + dps: + - id: 21 + type: integer + name: sensor + unit: C + class: measurement + - entity: binary_sensor + class: problem + category: diagnostic + name: Fault Alarm + dps: + - id: 24 + type: bitfield + name: sensor + mapping: + - dps_val: 0 + value: false + - dps_val: 1 + value: true + - entity: number + translation_key: timer + category: config + dps: + - id: 102 + type: integer + name: value + unit: min + range: + min: 0 + max: 480 + - entity: sensor + class: humidity + dps: + - id: 103 + type: integer + name: sensor + unit: "%" + class: measurement + - entity: select + name: Manual Adjustment + category: config + icon: mdi:swap-horizontal + dps: + - id: 104 + name: option + type: string + mapping: + - dps_val: "" + value: "None" + - dps_val: "LEFT" + value: "Turn left" + - dps_val: "RIGHT" + value: "Turn right"