Skip to content

@mega-yfue/eufy-sdk / tuya / TuyaAction

Interface: TuyaAction ​

A single action to call: the a (action) + v (version) + optional pre-serialized postData.

Properties ​

a ​

ts
a: string;

Action name as it goes on the wire, e.g. smartlife.m.device.dp.publish. The vendor SDK names its actions thing.* and rewrites a leading thing to smartlife before sending.


postData? ​

ts
postData?: string;

The postData param value — already a JSON STRING (Tuya carries the body as a string param).


v ​

ts
v: string;

Per-action version, e.g. "1.0" / "2.0".

Independent and unofficial. Not affiliated with, endorsed by, or sponsored by Anker Innovations, Anker eufy, or eufy. "Anker eufy", "eufy" and "Anker" are trademarks of their respective owners. Use responsibly — rapid or failed logins can trigger captcha or temporary cooldowns.