Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Amico 52 inch Smart Ceiling Fan #1954

Merged
merged 1 commit into from
Jun 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 80 additions & 0 deletions custom_components/tuya_local/devices/amico_smart_ceiling_fan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: Ceiling fan
products:
- id: eb208a14315d7cb2bd6txt
name: Amico 52 inch ceiling fan
primary_entity:
entity: fan
translation_only_key: fan_with_presets
dps:
- id: 60
type: boolean
name: switch
- id: 61
type: string
name: preset_mode
mapping:
- dps_val: fresh
value: fresh
- dps_val: nature
value: nature
- id: 62
type: integer
name: speed
range:
min: 1
max: 6
- id: 63
type: string
name: direction
mapping:
- dps_val: forward
value: forward
- dps_val: reverse
value: reverse
secondary_entities:
- entity: light
name: Light
dps:
- id: 20
type: boolean
name: switch
- id: 22
type: integer
name: brightness
range:
min: 10
max: 100
- id: 23
type: integer
name: color_temp
range:
min: 1
max: 3
mapping:
- dps_val: 1
value: 3000
- dps_val: 2
value: 4000
- dps_val: 3
value: 6000
- target_range:
min: 3000
max: 6000
- entity: select
translation_key: timer
category: config
dps:
- id: 101
type: string
name: option
mapping:
- dps_val: "cancel"
value: "off"
- dps_val: "1h"
value: "1 hour"
- dps_val: "2h"
value: "2 hours"
- dps_val: "4h"
value: "4 hours"
- dps_val: "8h"
value: "8 hours"