@mega-yfue/eufy-sdk / ArmingMode
Type Alias: ArmingMode
type ArmingMode = typeof ArmingMode[keyof typeof ArmingMode];The guard modes setMode can SET — every mode a station reports, all nine confirmed against real hardware. ArmingMode is both the const value-object (ArmingMode.home) and the union type of its values, so callers pass the named constant: setMode(ArmingMode.home).
The domain of setMode (cmd 1224) alone. The alarm-delay write (cmd 1255) carries its own mode integer on a separate wire and takes AlarmDelayMode, which stays NARROWER — evidence for one command is not evidence for the other, and 1255 still has no capture beyond its byte-captured three.
A mode belongs here only once its write is confirmed against real hardware, because a fire-and-forget wire makes a wrong mode look exactly like success; ARMING_MODE_WIRE carries the per-value evidence. The union is also what ARMING_MODE_WIRE is keyed by, so the table cannot name a mode this does not.