@mega-yfue/eufy-sdk / ActionMember
Interface: ActionMember
A member with no readable state: a momentary command.
Properties
action
ts
action: (ctx) => Command;Parameters
ctx
Returns
available?
ts
optional available?: (ctx) => boolean;Install only where this holds — see ValueMember.available.
Parameters
ctx
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.