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;
        mode?: MysaDeviceMode;
        setPoint: number;
    }
    Index

    Properties

    deviceId: string

    Unique identifier of the device whose state was changed

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

    setPoint: number

    Current temperature setpoint after the state change