Skip to content

Commit

Permalink
Updated speed mappings
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 bbf0c76 commit d477a7b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 24 deletions.
16 changes: 4 additions & 12 deletions custom_components/tuya_local/devices/windcalm_fan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,11 @@ primary_entity:
- id: 62
type: integer
name: speed
range:
min: 0
max: 6
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
- scale: 0.06
- id: 63
type: string
name: direction
Expand Down
16 changes: 4 additions & 12 deletions custom_components/tuya_local/devices/windcalm_fan_with_light.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,11 @@ primary_entity:
- id: 62
type: integer
name: speed
range:
min: 0
max: 6
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
- scale: 0.06
- id: 63
type: string
name: direction
Expand Down

0 comments on commit d477a7b

Please sign in to comment.