mysa-js-sdk
    Preparing search index...

    Interface ShadowStateSection<T>

    A section of a device's shadow state that is both requested by clients and reported by the device.

    Only reported reflects what the device has actually applied; desired is what was last requested.

    interface ShadowStateSection<T> {
        desired?: Partial<T>;
        reported?: Partial<T>;
    }

    Type Parameters

    • T
    Index
    desired?: Partial<T>

    The values last requested by a client (the Mysa app, a schedule, or this SDK).

    reported?: Partial<T>

    The values last reported by the device itself.