Canonical: https://mintisdynamics.com/connectors/tuya

# Tuya and Smart Life

Switch the plugs and lights in your Smart Life or Tuya Smart app on or off, and hear whether they are on. Needs a Tuya cloud project of your own, linked to your app account: connect with its Access ID and Access Secret (Cloud, Project Management, Overview on platform.tuya.com) and pick the data centre the project uses. Not for plugs or switches on gates or doors.

- Verified: yes (https://docs-dev.mintisdynamics.com/get-started/verified)
- Published by: Mintis
- Provider: tuya
- Kind: IoT
- Published: 2026-11-09
- Last reviewed: 2026-11-09
- How it runs: Runs through the service’s API. 2 of 6 actions ask first, confirmed with the same signal or a word.
- Your data: Lists the plugs and lights in your Tuya cloud project and switches the one you pick, through your own project at the Tuya data centre you chose. The Mintis audit log keeps each switch's response, and the names and models of the plugs and lights you were shown, and whether one was on.

## Actions (6)

### Plugs

The first 20 sockets and power strips in the Tuya cloud project.

- Action: `plugs`
- Tier: only reads
- Presets:
  - List my Tuya plugs

Parameters:

- `categories` · Categories · string · optional — Sockets (cz) and power strips (pc).
- `page_size` · Page size · integer · required

### Switch plug

Switch the first outlet of a plug or power strip on or off. The plug must be online.

- Action: `plug`
- Tier: asks first
- Presets:
  - {plug} on — Switch this plug on.
  - {plug} off — Switch this plug off.

Parameters:

- `plug` · Plug · string · required — Which plug, picked from the plugs in the project.
- `properties` · Switch · string · required — On or off, as the property Tuya sets (switch_1, the first outlet). Options: On ({"switch_1":true}), Off ({"switch_1":false}).

### Is the plug on

Whether the first outlet of a plug is on, as the plug last reported it.

- Action: `plug-status`
- Tier: only reads
- Presets:
  - Is {plug} on

Parameters:

- `plug` · Plug · string · required — Which plug, picked from the plugs in the project.
- `codes` · Properties · string · optional

### Lights

The first 20 lights and strip lights in the Tuya cloud project.

- Action: `lights`
- Tier: only reads
- Presets:
  - List my Tuya lights

Parameters:

- `categories` · Categories · string · optional — Lights (dj) and strip lights (dd).
- `page_size` · Page size · integer · required

### Switch light

Switch a light on or off. The light must be online.

- Action: `light`
- Tier: asks first
- Presets:
  - {light} on — Switch this light on.
  - {light} off — Switch this light off.

Parameters:

- `light` · Light · string · required — Which light, picked from the lights in the project.
- `properties` · Switch · string · required — On or off, as the property Tuya sets (switch_led). Options: On ({"switch_led":true}), Off ({"switch_led":false}).

### Is the light on

Whether a light is on, as the light last reported it.

- Action: `light-status`
- Tier: only reads
- Presets:
  - Is {light} on

Parameters:

- `light` · Light · string · required — Which light, picked from the lights in the project.
- `codes` · Properties · string · optional
