/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ /*** THIS FILE IS GENERATED, DO NOT EDIT ***/ import { IdentifyServer as BaseIdentifyServer } from "../behaviors/identify/IdentifyServer.js"; import { ThermostatClient as BaseThermostatClient } from "../behaviors/thermostat/ThermostatClient.js"; import { MutableEndpoint } from "../endpoint/type/MutableEndpoint.js"; import { SupportedBehaviors } from "../endpoint/properties/SupportedBehaviors.js"; import { Identity } from "@matter/general"; /** * A Heat Pump device is a device that uses electrical energy to heat either spaces or water tanks using ground, water * or air as the heat source. These typically can heat the air or can pump water via central heating radiators or * underfloor heating systems. It is typical to also heat hot water and store the heat in a hot water tank. * * Note that the Water Heater device type can also be heated by a heat pump and has similar requirements, but that * cannot be used for space heating. * * @see {@link MatterSpecification.v16.Device} ยง 14.5 */ export interface HeatPumpDevice extends Identity {} export namespace HeatPumpRequirements { /** * The Identify cluster is optional per the Matter specification. * * We provide this alias to the default implementation {@link IdentifyServer} for convenience. */ export const IdentifyServer = BaseIdentifyServer; /** * The Thermostat cluster is optional per the Matter specification. * * We provide this alias to the default implementation {@link ThermostatClient} for convenience. */ export const ThermostatClient = BaseThermostatClient; /** * An implementation for each server cluster supported by the endpoint per the Matter specification. */ export const server = { optional: { Identify: IdentifyServer }, mandatory: {} }; /** * A definition for each client cluster supported by the endpoint per the Matter specification. */ export const client = { optional: { Thermostat: ThermostatClient }, mandatory: {} }; } export const HeatPumpDeviceDefinition = MutableEndpoint({ name: "HeatPump", deviceType: 0x309, deviceRevision: 1, requirements: HeatPumpRequirements, behaviors: SupportedBehaviors() }); Object.freeze(HeatPumpDeviceDefinition); export const HeatPumpDevice: HeatPumpDevice = HeatPumpDeviceDefinition;