Skip to content

@mega-yfue/eufy-sdk / STATE_EVENT_FIELDS

Variable: STATE_EVENT_FIELDS

ts
const STATE_EVENT_FIELDS: Readonly<Record<string, string>>;

Semantic event name → the payload field carrying its state, folded from every module's CapabilityModule.stateEvents.

A barrel projection like the action/event maps: it lets the facade be edge-triggered on state without naming a capability. An event ABSENT here is a pulse and is always announced.

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.