mysa-js-sdk
    Preparing search index...

    Interface StateChange

    Interface representing a device state change event for a Mysa device.

    This event is emitted when a device's operational parameters are modified, such as changing the operating mode or temperature setpoint. State changes can be initiated through user interaction, scheduling, or programmatic control through the API.

    interface StateChange {
        deviceId: string;
        fanSpeed?: MysaFanSpeedMode;
        mode?: MysaDeviceMode;
        setPoint: number;
    }
    Index

    Properties

    deviceId: string

    Unique identifier of the device whose state was changed

    fanSpeed?: MysaFanSpeedMode

    Optional fan speed (1 = auto, 3 = low, 5 = medium, 7 = high, 8 = max). AC only

    The device's operating mode (e.g., 'heat', 'off'), if available

    setPoint: number

    Current temperature setpoint after the state change