Tuya TS130F
| Model | TS130F |
| Vendor | Tuya |
| Description | Curtain/blind switch |
| Exposes | cover (state, position), moving, motor_reversal, calibration, calibration_time, indicator_mode, backlight_mode, switch_type |
| Picture | ![]() |
| White-label | LoraTap SC400 |
Notes
Pairing
Press on stop button for 10 seconds to enter pairing mode
Calibration
- Press the open button on the switch, wait until the curtains are completely open.
- Press the pause button on the switch.
- Put the device into calibration mode, see below.
- Press the close button on the switch, wait until curtains are fully closed.
- Press the pause button on the switch.
- Disable the calibration mode, see below.
Options
How to use device type specific configuration
time_start: Reply to Tuya-specific time synchronization requests: "1970" - Reply with seconds since 1970/01/01 (recommended, should stop the device from asking), "2000" - Reply with seconds since 2000/01/01 (use if the weekday is wrong with 1970), "off" - Don't reply (use if replying causes too much traffic). Default for this device: "off". The value must be one of1970,2000,offinvert_cover: Inverts the cover position and state, false: open=100,close=0, true: open=0,close=100 (default false). The value must betrueorfalsecover_position_tilt_disable_report: Do not publish set cover target position as a normal 'position' value (default false). The value must betrueorfalse
Exposes
Cover
The current state of this cover is in the published state under the state property (value is OPEN or CLOSE). To control this cover publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"state": "OPEN"}, {"state": "CLOSE"}, {"state": "STOP"}. It's not possible to read (/get) this value. To change the position publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"position": VALUE} where VALUE is a number between 0 and 100.
Moving (enum)
Value can be found in the published state on the moving property. It's not possible to read (/get) or write (/set) this value. The possible values are: UP, STOP, DOWN.
Motor reversal (binary)
Value can be found in the published state on the motor_reversal property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"motor_reversal": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"motor_reversal": NEW_VALUE}. If value equals ON motor reversal is ON, if OFF OFF.
Calibration (binary)
Value can be found in the published state on the calibration property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"calibration": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"calibration": NEW_VALUE}. If value equals ON calibration is ON, if OFF OFF.
Calibration time (numeric)
Value can be found in the published state on the calibration_time property. It's not possible to read (/get) or write (/set) this value. The unit of this value is s.
Indicator mode (enum)
LED indicator mode. Value can be found in the published state on the indicator_mode property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"indicator_mode": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"indicator_mode": NEW_VALUE}. The possible values are: off, off/on, on/off, on.
Backlight mode (binary)
Mode of the backlight. Value can be found in the published state on the backlight_mode property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"backlight_mode": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"backlight_mode": NEW_VALUE}. If value equals ON backlight mode is ON, if OFF OFF.
Switch type (enum)
Type of the installed switch. Value can be found in the published state on the switch_type property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"switch_type": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"switch_type": NEW_VALUE}. The possible values are: momentary, toggle.

