/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { IdentifyServer as BaseIdentifyServer } from "../behaviors/identify/IdentifyServer.js";
import { IdentifyClient as BaseIdentifyClient } from "../behaviors/identify/IdentifyClient.js";
import { OnOffClient as BaseOnOffClient } from "../behaviors/on-off/OnOffClient.js";
import { GroupsClient as BaseGroupsClient } from "../behaviors/groups/GroupsClient.js";
import { LevelControlClient as BaseLevelControlClient } from "../behaviors/level-control/LevelControlClient.js";
import {
  ScenesManagementClient as BaseScenesManagementClient
} from "../behaviors/scenes-management/ScenesManagementClient.js";
import { ColorControlClient as BaseColorControlClient } from "../behaviors/color-control/ColorControlClient.js";
import { MutableEndpoint } from "../endpoint/type/MutableEndpoint.js";
import { SupportedBehaviors } from "../endpoint/properties/SupportedBehaviors.js";
var OnOffSensorRequirements;
((OnOffSensorRequirements2) => {
  OnOffSensorRequirements2.IdentifyServer = BaseIdentifyServer;
  OnOffSensorRequirements2.IdentifyClient = BaseIdentifyClient;
  OnOffSensorRequirements2.OnOffClient = BaseOnOffClient;
  OnOffSensorRequirements2.GroupsClient = BaseGroupsClient;
  OnOffSensorRequirements2.LevelControlClient = BaseLevelControlClient;
  OnOffSensorRequirements2.ScenesManagementClient = BaseScenesManagementClient;
  OnOffSensorRequirements2.ColorControlClient = BaseColorControlClient;
  OnOffSensorRequirements2.server = { mandatory: { Identify: OnOffSensorRequirements2.IdentifyServer } };
  OnOffSensorRequirements2.client = {
    mandatory: { Identify: OnOffSensorRequirements2.IdentifyClient, OnOff: OnOffSensorRequirements2.OnOffClient },
    optional: {
      Groups: OnOffSensorRequirements2.GroupsClient,
      LevelControl: OnOffSensorRequirements2.LevelControlClient,
      ScenesManagement: OnOffSensorRequirements2.ScenesManagementClient,
      ColorControl: OnOffSensorRequirements2.ColorControlClient
    }
  };
})(OnOffSensorRequirements || (OnOffSensorRequirements = {}));
const OnOffSensorDeviceDefinition = MutableEndpoint({
  name: "OnOffSensor",
  deviceType: 2128,
  deviceRevision: 3,
  requirements: OnOffSensorRequirements,
  behaviors: SupportedBehaviors(OnOffSensorRequirements.server.mandatory.Identify)
});
Object.freeze(OnOffSensorDeviceDefinition);
const OnOffSensorDevice = OnOffSensorDeviceDefinition;
export {
  OnOffSensorDevice,
  OnOffSensorDeviceDefinition,
  OnOffSensorRequirements
};
//# sourceMappingURL=on-off-sensor.js.map
