@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, e.g. thing.m.device.dp.publish.
postData?
ts
optional 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".