@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
optional args?: readonly ActionArgSpec[];Inherited from
description?
ts
optional description?: string;Inherited from
form
ts
form: "momentary" | "stateful";Inherited from
name
ts
name: string;reflects?
ts
optional reflects?: string;For a stateful action, the read accessor on the same capability whose value it changes.