/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ /*** THIS FILE IS GENERATED, DO NOT EDIT ***/ import { BindingServer as BaseBindingServer } from "../behaviors/binding/BindingServer.js"; import { IdentifyServer as BaseIdentifyServer } from "../behaviors/identify/IdentifyServer.js"; import { WindowCoveringClient as BaseWindowCoveringClient } from "../behaviors/window-covering/WindowCoveringClient.js"; import { IdentifyClient as BaseIdentifyClient } from "../behaviors/identify/IdentifyClient.js"; import { GroupsClient as BaseGroupsClient } from "../behaviors/groups/GroupsClient.js"; import { MutableEndpoint } from "../endpoint/type/MutableEndpoint.js"; import { SupportedBehaviors } from "../endpoint/properties/SupportedBehaviors.js"; import { Identity } from "@matter/general"; /** * A Window Covering Controller is a device that controls an automatic window covering. * * @see {@link MatterSpecification.v161.Device} ยง 8.4 */ export interface WindowCoveringControllerDevice extends Identity {} export namespace WindowCoveringControllerRequirements { /** * The Binding cluster is required by the Matter specification. * * We provide this alias to the default implementation {@link BindingServer} for convenience. */ export const BindingServer = BaseBindingServer; /** * 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 WindowCovering cluster is required by the Matter specification. * * We provide this alias to the default implementation {@link WindowCoveringClient} for convenience. */ export const WindowCoveringClient = BaseWindowCoveringClient; /** * The Identify cluster is optional per the Matter specification. * * We provide this alias to the default implementation {@link IdentifyClient} for convenience. */ export const IdentifyClient = BaseIdentifyClient; /** * The Groups cluster is optional per the Matter specification. * * We provide this alias to the default implementation {@link GroupsClient} for convenience. */ export const GroupsClient = BaseGroupsClient; /** * An implementation for each server cluster supported by the endpoint per the Matter specification. */ export const server = { mandatory: { Binding: BindingServer }, optional: { Identify: IdentifyServer } }; /** * A definition for each client cluster supported by the endpoint per the Matter specification. */ export const client = { mandatory: { WindowCovering: WindowCoveringClient }, optional: { Identify: IdentifyClient, Groups: GroupsClient } }; } export const WindowCoveringControllerDeviceDefinition = MutableEndpoint({ name: "WindowCoveringController", deviceType: 0x203, deviceRevision: 5, requirements: WindowCoveringControllerRequirements, behaviors: SupportedBehaviors(WindowCoveringControllerRequirements.server.mandatory.Binding) }); Object.freeze(WindowCoveringControllerDeviceDefinition); export const WindowCoveringControllerDevice: WindowCoveringControllerDevice = WindowCoveringControllerDeviceDefinition;