Created
June 24, 2025 06:36
-
-
Save zoilomora/a866f474ea690bb40a436f7ebb80c442 to your computer and use it in GitHub Desktop.
ESPHome basic configuration for Ceiling Fan TD38CE (CFL52-D3402)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Model Name: TD38CE (CFL52-D3402) | |
# Part Number: TD38CE_JJ8817_180R | |
# ESP-02S module installed | |
esp8266: | |
board: esp8285 | |
framework: | |
version: recommended | |
logger: | |
baud_rate: 0 | |
uart: | |
tx_pin: TX | |
rx_pin: RX | |
baud_rate: 9600 | |
tuya: | |
fan: | |
- platform: "tuya" | |
name: "Ceiling Fan" | |
id: "ceiling_fan" | |
restore_mode: RESTORE_DEFAULT_OFF | |
switch_datapoint: 1 | |
direction_datapoint: 8 | |
speed_datapoint: 3 | |
speed_count: 6 | |
on_turn_off: | |
then: | |
- select.set: | |
id: fan_timer | |
option: "Disable" | |
select: | |
- platform: "tuya" | |
name: "Fan Direction" | |
enum_datapoint: 8 | |
optimistic: true | |
options: | |
0: Summer | |
1: Winter | |
- platform: "tuya" | |
id: "fan_timer" | |
name: "Fan Timer" | |
enum_datapoint: 22 | |
optimistic: true | |
options: | |
0: Disable | |
1: 1h | |
2: 2h | |
4: 4h | |
8: 8h | |
- platform: "tuya" | |
name: "Fan Breeze Mode" | |
enum_datapoint: 2 | |
optimistic: true | |
options: | |
0: Enable | |
4: Disable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment