@mega-yfue/eufy-sdk / LockActions
Type Alias: LockActions
ts
type LockActions = Surface<typeof LOCK_MEMBERS>;Bound lock controls — the object returned by dev.lock().
Everything is DERIVED from LOCK_MEMBERS. lock/unlock and the setting toggles drive any lock-family actuator — currently the T8531 video smart lock and the T85D0 garage door, which share one actuation frame. This module emits ONE transport-neutral intent (identity fields only, no wire bytes, no cipher, no routing key) and names no transport: the command sink routes P2P vs MQTT by the device's topology, and the chosen transport's command router builds the frame + envelope and re-resolves its own routing tail. Which pipe it is does not reach dev.lock() — its surface is identical either way, the same way P2P-vs-cloud is hidden for live media.