mysa-js-sdk
    Preparing search index...

    Interface ShadowState

    The state of a single device, as returned by the GET /state/{deviceId} endpoint of Mysa's current backend.

    Only the sections the SDK relies on are typed; the document carries many more (telemetry, power, physical interface, ...) whose shape varies by device model.

    interface ShadowState {
        modes?: ShadowStateSection<ShadowModes>;
        targetCool?: ShadowStateSection<ShadowTarget>;
        targetHeat?: ShadowStateSection<ShadowTarget>;
        [section: string]: unknown;
    }

    Indexable

    • [section: string]: unknown

      Any other section returned by the API.

    Index

    The operating mode section.

    The cooling setpoint section, present on devices that can cool.

    The heating setpoint section.