I struggled to get my Hinkley Tiburon Ceiling Fan with upper and lower nights working in Home Assistant and didn’t find much info out there. Now that I’ve got it figured thought i’d share.
Using Tuya-local it was able to get the device id, key and IP address, but no matter what device type I told it to create I at most only got one light and the fan working, never both the upper and lower lights.
-Remove the fan from the Hinkley app and add it to the SmartLife app.
-Add this yaml to your Tuya-Local folder (/homeassistant/custom_components/tuya_local/devices/hinkley_fan_dual_light.yaml)
name: Hinkley ceiling fan with dual lights
products:
- id: 88zpiybkbyjmpqhb
entities:
- entity: fan
dps:
- id: 60
name: switch
type: boolean
- id: 62
name: speed
type: integer
range:
min: 1
max: 100
- id: 63
name: direction
type: string
mapping:
- dps_val: forward
value: forward
- dps_val: reverse
value: reverse
- id: 61
name: preset_mode
type: string
mapping:
- dps_val: fresh
value: Fresh
- entity: light
name: Main Light
dps:
- id: 20
name: switch
type: boolean
- id: 22
name: brightness
type: integer
range:
min: 10
max: 1000
- entity: light
name: Secondary Light
dps:
- id: 103
name: switch
type: boolean
- id: 102
name: brightness
type: integer
range:
min: 10
max: 1000
Save and restart (not certain this is necessary)
Now when you add the device using the usual Tuya-Local process it should automatically discover everything and give you the correct device type. Once set up both light entities should be present along with the fan.