Skip to content
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions content/components/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1052,6 +1052,7 @@ ESPHome to cellular networks. **Does not encompass Wi-Fi.**
"Status LED","components/status_led","led-on.svg","dark-invert"
"Sun","components/sun","weather-sunny.svg","dark-invert"
"Tuya MCU","components/tuya","tuya.png",""
"Tuya Low Energy MCU","components/tuya_low_energy","tuya.png",""
"Z-Wave Proxy","components/zwave_proxy","z-wave.svg",""
{{< /imgtable >}}

Expand Down
31 changes: 31 additions & 0 deletions content/components/tuya_low_energy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
description: "Instructions for setting up the Tuya Low Energy component."
title: "Tuya Low Energy"
params:
seo:
description: Instructions for setting up the Tuya Low Energy component.
image: tuya.png
---

The `tuya_low_energy` component creates a serial connection to the Tuya MCU for low energy platforms to use. This component inherits from the [tuya component](/components/tuya) and is specifically designed for Tuya devices that use the low energy protocol, which differs from the standard Tuya MCU protocol.

{{< img src="tuya.png" alt="Image" width="40%" class="align-center" >}}

The `tuya_low_energy` serial component requires a [UART bus](#uart) to be configured. Put the `tuya_low_energy` component in the config and it will list the possible devices for you in the config log.

```yaml
# Register the Tuya Low Energy MCU connection
tuya_low_energy:
```

For configuration variables, datapoint handling, and automation, refer to the [tuya component](/components/tuya) documentation, as `tuya_low_energy` supports the same options including `time_id`, `status_pin`, `ignore_mcu_update_on_datapoints`, and `on_datapoint_update`.

## See Also

- {{< docref "/components/tuya" >}}
- {{< docref "/components/switch/tuya" >}}
- {{< docref "/components/binary_sensor/tuya" >}}
- {{< docref "/components/sensor/tuya" >}}
- {{< docref "/components/text_sensor/tuya" >}}
- {{< docref "/components/number/tuya" >}}
- {{< apiref "tuya_low_energy/tuya_low_energy.h" "tuya_low_energy/tuya_low_energy.h" >}}