Skip to content

@mega-yfue/eufy-sdk / ActionMember

Interface: ActionMember

A member with no readable state: a momentary command.

Properties

action

ts
action: (ctx) => Command;

Parameters

ctx

CommandContext

Returns

Command


available?

ts
optional available?: (ctx) => boolean;

Install only where this holds — see ValueMember.available.

Parameters

ctx

CommandContext

Returns

boolean


description

ts
description: string;

requires?

ts
optional requires?: readonly number[];

Install only on a device reporting one of these params — see ValueMember.requires.

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.