Skip to content

Tuya Text Sensor

The tuya text sensor platform creates a sensor from a tuya component and requires Tuya to be configured.

You can create the text sensor as follows:

# Create a sensor
text_sensor:
- platform: "tuya"
name: "MyTextSensor"
sensor_datapoint: 18
  • sensor_datapoint (Required, int): The datapoint id number of the sensor.
  • All other options from Text Sensor.