@mega-yfue/eufy-sdk / AvailabilityObservation
Interface: AvailabilityObservation
An explicit availability observation whose entity, polarity and scope are verified on the current vendor wire. The SDK emits this only for authoritative signals; silence, stale cloud facts, failed operations and idle transports do not create or clear one.
Properties
availability
ts
readonly availability: AvailabilityState;entity
ts
readonly entity: object;kind
ts
readonly kind: "device";sn
ts
readonly sn: string;observedAt?
ts
readonly optional observedAt?: number;Vendor-supplied observation time in milliseconds, when the envelope carries one.
receivedAt
ts
readonly receivedAt: number;When the SDK received this explicit signal, in milliseconds.
scope
ts
readonly scope: "device";sequence?
ts
readonly optional sequence?: number;Vendor-supplied message ordering value, when the envelope carries one.
source
ts
readonly source: AvailabilitySource;