Skip to content

Commit

Permalink
Added support for Windcalm Fans
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzwo authored and make-all committed Jul 2, 2023
1 parent ec5e434 commit bbf0c76
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 0 deletions.
33 changes: 33 additions & 0 deletions custom_components/tuya_local/devices/windcalm_fan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Windcalm Ceiling Fan
primary_entity:
entity: fan
dps:
- id: 60
type: boolean
name: switch
- id: 62
type: integer
name: speed
mapping:
- dps_val: 1
value: 20
- dps_val: 2
value: 36
- dps_val: 3
value: 52
- dps_val: 4
value: 68
- dps_val: 5
value: 84
- dps_val: 6
value: 100
- id: 63
type: string
name: direction
- id: 64
type: integer
name: timer
range:
min: 0
max: 540
unit: min
53 changes: 53 additions & 0 deletions custom_components/tuya_local/devices/windcalm_fan_with_light.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Windcalm Ceiling Fan with Light
primary_entity:
entity: fan
dps:
- id: 60
type: boolean
name: switch
- id: 62
type: integer
name: speed
mapping:
- dps_val: 1
value: 20
- dps_val: 2
value: 36
- dps_val: 3
value: 52
- dps_val: 4
value: 68
- dps_val: 5
value: 84
- dps_val: 6
value: 100
- id: 63
type: string
name: direction
- id: 64
type: integer
name: timer
range:
min: 0
max: 540
unit: min
secondary_entities:
- entity: light
dps:
- id: 20
type: boolean
name: switch
- id: 22
name: brightness
type: integer
range:
min: 10
max: 1000
mapping:
- scale: 3.92
- id: 23
name: color_temp
type: integer
range:
min: 0
max: 1000

0 comments on commit bbf0c76

Please sign in to comment.