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: Copy link to header

  • sensor_datapoint (Required, int): The datapoint id number of the sensor.
  • All other options from Text Sensor.

See Also Copy link to header

CURRENT