A cooktop is a cooking surface that heats food either by transferring currents from an electromagnetic field located below the glass surface directly to the magnetic induction cookware placed above or through traditional gas or electric burners.

MatterSpecification.v13.Device § 13.8

interface CooktopDevice {
    behaviors: {
        onOff: Type<WithFeatures<WithFeatures<OnOff.Cluster, readonly [Lighting]>, readonly ["OffOnly"]>, typeof OnOffServer, OnOffInterface>;
    } & {
        onOff: Type<WithFeatures<WithFeatures<OnOff.Cluster, readonly [Lighting]>, readonly ["OffOnly"]>, typeof OnOffServer, OnOffInterface>;
    };
    defaults: StateOf<{
        onOff: Type<WithFeatures<WithFeatures<OnOff.Cluster, readonly [Lighting]>, readonly ["OffOnly"]>, typeof OnOffServer, OnOffInterface>;
    }>;
    deviceClass: DeviceClassification;
    deviceRevision: number;
    deviceType: DeviceTypeId;
    name: "Cooktop";
    requirements: typeof CooktopRequirements;
    set(defaults: InputStateOf<{
        onOff: Type<WithFeatures<WithFeatures<OnOff.Cluster, readonly [Lighting]>, readonly ["OffOnly"]>, typeof OnOffServer, OnOffInterface>;
    }>): With<For<{
        behaviors: {
            onOff: Type<WithFeatures<WithFeatures<OnOff.Cluster, readonly [Lighting]>, readonly ["OffOnly"]>, typeof OnOffServer, OnOffInterface>;
        };
        deviceRevision: 1;
        deviceType: 120;
        name: "Cooktop";
        requirements: typeof CooktopRequirements;
    }>, {
        onOff: Type<WithFeatures<WithFeatures<OnOff.Cluster, readonly [Lighting]>, readonly ["OffOnly"]>, typeof OnOffServer, OnOffInterface>;
    }>;
    with<const BL>(...behaviors: BL): With<For<{
        behaviors: {
            onOff: Type<WithFeatures<WithFeatures<OnOff.Cluster, readonly [Lighting]>, readonly ["OffOnly"]>, typeof OnOffServer, OnOffInterface>;
        };
        deviceRevision: 1;
        deviceType: 120;
        name: "Cooktop";
        requirements: typeof CooktopRequirements;
    }>, With<{
        onOff: Type<WithFeatures<WithFeatures<OnOff.Cluster, readonly [Lighting]>, readonly ["OffOnly"]>, typeof OnOffServer, OnOffInterface>;
    }, BL>>;
}

Hierarchy (view full)

Properties

behaviors: {
    onOff: Type<WithFeatures<WithFeatures<OnOff.Cluster, readonly [Lighting]>, readonly ["OffOnly"]>, typeof OnOffServer, OnOffInterface>;
} & {
    onOff: Type<WithFeatures<WithFeatures<OnOff.Cluster, readonly [Lighting]>, readonly ["OffOnly"]>, typeof OnOffServer, OnOffInterface>;
}
defaults: StateOf<{
    onOff: Type<WithFeatures<WithFeatures<OnOff.Cluster, readonly [Lighting]>, readonly ["OffOnly"]>, typeof OnOffServer, OnOffInterface>;
}>

Access default state values.

deviceRevision: number
deviceType: DeviceTypeId
name
requirements: typeof CooktopRequirements

Methods