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 a device YAML file for the lightless Casafan Eco Genuino #2773

Closed
wants to merge 2 commits into from
Closed
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
49 changes: 49 additions & 0 deletions custom_components/tuya_local/devices/casafan_ceiling_fan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Ceiling fan
products:
- id: 000001nbqb
name: Casafan Eco Genuino
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: normal
value: normal
- dps_val: sleep
value: sleep
- dps_val: nature
value: nature
- id: 3
type: integer
name: speed
range:
min: 1
max: 6
- id: 8
type: string
name: direction
secondary_entities:
- entity: select
translation_key: timer
category: config
dps:
- id: 22
type: string
name: option
mapping:
- dps_val: "off"
value: "off"
- dps_val: "1hour"
value: "1h"
- dps_val: "2hour"
value: "2h"
- dps_val: "4hour"
value: "4h"
- dps_val: "8hour"
value: "8h"
Loading