eufy-mega / model/capabilities / DecodedState
Interface: DecodedState
Device state a capability recovered from an inbound realtime signal, expressed as paramType → value in the device's own param namespace — the same shape the cloud record reports, so it flows through Device.applyParams and reaches the typed CapabilityModule.reads getters unchanged.
Attribution stays with the signal: the transport already resolves which device a message came from, and a capability re-deriving it from the payload would be a second, disagreeable source of truth.
Properties
params
ts
params: Record<number, string>;