esphome / esphome/feature-requests
Support for Tuya composite devices
- Dominant language
- No language data
- Stars
- 450
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the problem you have/What new integration you would like**
ESPHome currently supports only dimmer devices but does not support devices that combine multiple thing, for example dimmer and switch.
**Please describe your use case for this integration and alternatives you've tried:**
I bought Moeshouse "Fan light switch" - https://www.moeshouse.com/collections/smart-fan-light-switch/products/wifi-smart-ceiling-fan-light-wall-switch-smart-life-tuya-app-remote-various-speed-control-compatible-with-alexa-and-google-home-1
It is a Tuya device based on TYWE3S and MCU. It has a triac dimmer for fan or lamp and relay switch.


I uploaded ESPHome to it via UART without any problem.
In the log I see three datapoint:
1 - switch for fan(dimmer)
2 - dimmer level
3 - relay switch
In the EPSHome config I wrote:
```
light:
- platform: "tuya"
name: "dim1"
dimmer_datapoint: 2
switch_datapoint: 1
```
It works for dimmer.
But I can't manage a relay switch(datapoint 3).
**Additional context**
Also I can't set dimmer level 51%-99% from Homeassistant. If I set level above 50% the dimmer sets a maximum level. But I can set it via dimmer button.
From the log I see that a maximum level is 255.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.