Skip to content

@mega-yfue/eufy-sdk / ActionDescriptor

Interface: ActionDescriptor ​

One offerable action: an ActionSpec plus the name it is installed under.

The name is taken from the enumeration rather than carried in the spec, so a renamed method takes its description with it and cannot leave one behind pointing at nothing.

Extends ​

Properties ​

args? ​

ts
args?: readonly ActionArgSpec[];

Inherited from ​

ActionSpec.args


description? ​

ts
description?: string;

Inherited from ​

ActionSpec.description


form ​

ts
form: "momentary" | "stateful";

Inherited from ​

ActionSpec.form


name ​

ts
name: string;

reflects? ​

ts
reflects?: string;

For a stateful action, the read accessor on the same capability whose value it changes.

Inherited from ​

ActionSpec.reflects

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.