A Laundry Dryer represents a device that is capable of drying laundry items.

MatterSpecification.v13.Device § 13.6

interface LaundryDryerDevice {
    behaviors: {
        operationalState: typeof OperationalStateServer;
    } & {
        operationalState: typeof OperationalStateServer;
    };
    defaults: StateOf<{
        operationalState: typeof OperationalStateServer;
    }>;
    deviceClass: DeviceClassification;
    deviceRevision: number;
    deviceType: DeviceTypeId;
    name: "LaundryDryer";
    requirements: typeof LaundryDryerRequirements;
    set(defaults: InputStateOf<{
        operationalState: typeof OperationalStateServer;
    }>): With<For<{
        behaviors: {
            operationalState: typeof OperationalStateServer;
        };
        deviceRevision: 1;
        deviceType: 124;
        name: "LaundryDryer";
        requirements: typeof LaundryDryerRequirements;
    }>, {
        operationalState: typeof OperationalStateServer;
    }>;
    with<const BL>(...behaviors: BL): With<For<{
        behaviors: {
            operationalState: typeof OperationalStateServer;
        };
        deviceRevision: 1;
        deviceType: 124;
        name: "LaundryDryer";
        requirements: typeof LaundryDryerRequirements;
    }>, With<{
        operationalState: typeof OperationalStateServer;
    }, BL>>;
}

Hierarchy (view full)

Properties

behaviors: {
    operationalState: typeof OperationalStateServer;
} & {
    operationalState: typeof OperationalStateServer;
}
defaults: StateOf<{
    operationalState: typeof OperationalStateServer;
}>

Access default state values.

deviceRevision: number
deviceType: DeviceTypeId
name
requirements: typeof LaundryDryerRequirements

Methods

  • Define an endpoint like this one with different defaults. Only updates values present in the input object.

    Parameters

    Returns With<For<{
        behaviors: {
            operationalState: typeof OperationalStateServer;
        };
        deviceRevision: 1;
        deviceType: 124;
        name: "LaundryDryer";
        requirements: typeof LaundryDryerRequirements;
    }>, {
        operationalState: typeof OperationalStateServer;
    }>

  • Define an endpoint like this one with additional and/or replacement server behaviors.

    Type Parameters

    • const BL extends List

    Parameters

    • Rest...behaviors: BL

    Returns With<For<{
        behaviors: {
            operationalState: typeof OperationalStateServer;
        };
        deviceRevision: 1;
        deviceType: 124;
        name: "LaundryDryer";
        requirements: typeof LaundryDryerRequirements;
    }>, With<{
        operationalState: typeof OperationalStateServer;
    }, BL>>