Skip to content

Commit

Permalink
Create dream_maker_feel_fan.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
BenJamesAndo authored Sep 5, 2024
1 parent 0e4cf43 commit 3a03138
Showing 1 changed file with 130 additions and 0 deletions.
130 changes: 130 additions & 0 deletions custom_components/tuya_local/devices/dream_maker_feel_fan.yaml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 3a03138

Please sign in to comment.