Tuya Text Sensor

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

You can create the text sensor as follows:

# Create a sensor
text_sensor:
  - platform: "tuya"
    name: "MyTextSensor"
    sensor_datapoint: 18

Configuration variables:

  • sensor_datapoint (Required, int): The datapoint id number of the sensor.

  • All other options from Text Sensor.

See Also