/**
 * @license
 * Copyright 2022-2025 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { MatterDefinition } from "../MatterDefinition.js";
import {
  ClusterElement as Cluster,
  AttributeElement as Attribute,
  FieldElement as Field,
  CommandElement as Command,
  DatatypeElement as Datatype
} from "../../elements/index.js";
const ColorControl = Cluster(
  { name: "ColorControl", id: 768, classification: "application" },
  Attribute({ name: "ClusterRevision", id: 65533, type: "ClusterRevision", default: 7 }),
  Attribute(
    { name: "FeatureMap", id: 65532, type: "FeatureMap" },
    Field({ name: "HS", conformance: "EHUE, O", constraint: "0", title: "HueSaturation" }),
    Field({ name: "EHUE", conformance: "CL, O", constraint: "1", title: "EnhancedHue" }),
    Field({ name: "CL", conformance: "O", constraint: "2", title: "ColorLoop" }),
    Field({ name: "XY", conformance: "O", constraint: "3", title: "Xy" }),
    Field({ name: "CT", conformance: "O", constraint: "4", title: "ColorTemperature" })
  ),
  Attribute({
    name: "CurrentHue",
    id: 0,
    type: "uint8",
    access: "R V",
    conformance: "HS",
    constraint: "max 254",
    quality: "N P Q"
  }),
  Attribute({
    name: "CurrentSaturation",
    id: 1,
    type: "uint8",
    access: "R V",
    conformance: "HS",
    constraint: "max 254",
    quality: "N S P Q"
  }),
  Attribute({
    name: "RemainingTime",
    id: 2,
    type: "uint16",
    access: "R V",
    conformance: "O",
    constraint: "0 to 65535",
    default: 0,
    quality: "Q"
  }),
  Attribute({
    name: "CurrentX",
    id: 3,
    type: "uint16",
    access: "R V",
    conformance: "XY",
    constraint: "max 65279",
    quality: "N S P Q"
  }),
  Attribute({
    name: "CurrentY",
    id: 4,
    type: "uint16",
    access: "R V",
    conformance: "XY",
    constraint: "max 65279",
    quality: "N S P Q"
  }),
  Attribute({ name: "DriftCompensation", id: 5, type: "DriftCompensationEnum", access: "R V", conformance: "O" }),
  Attribute(
    { name: "CompensationText", id: 6, type: "string", access: "R V", conformance: "O", constraint: "max 254" }
  ),
  Attribute({
    name: "ColorTemperatureMireds",
    id: 7,
    type: "uint16",
    access: "R V",
    conformance: "CT",
    constraint: "colorTempPhysicalMinMireds to colorTempPhysicalMaxMireds",
    quality: "N S P Q"
  }),
  Attribute({ name: "ColorMode", id: 8, type: "ColorModeEnum", access: "R V", conformance: "M", quality: "N" }),
  Attribute({ name: "Options", id: 15, type: "OptionsBitmap", access: "RW VO", conformance: "M", constraint: "desc" }),
  Attribute({
    name: "NumberOfPrimaries",
    id: 16,
    type: "uint8",
    access: "R V",
    conformance: "M",
    constraint: "max 6",
    quality: "X F"
  }),
  Attribute({
    name: "Primary1X",
    id: 17,
    type: "uint16",
    access: "R V",
    conformance: "NumberOfPrimaries > 0",
    constraint: "max 65279",
    quality: "F"
  }),
  Attribute({
    name: "Primary1Y",
    id: 18,
    type: "uint16",
    access: "R V",
    conformance: "NumberOfPrimaries > 0",
    constraint: "max 65279",
    quality: "F"
  }),
  Attribute({
    name: "Primary1Intensity",
    id: 19,
    type: "uint8",
    access: "R V",
    conformance: "NumberOfPrimaries > 0",
    quality: "X F"
  }),
  Attribute({
    name: "Primary2X",
    id: 21,
    type: "uint16",
    access: "R V",
    conformance: "NumberOfPrimaries > 1",
    constraint: "max 65279",
    quality: "F"
  }),
  Attribute({
    name: "Primary2Y",
    id: 22,
    type: "uint16",
    access: "R V",
    conformance: "NumberOfPrimaries > 1",
    constraint: "max 65279",
    quality: "F"
  }),
  Attribute({
    name: "Primary2Intensity",
    id: 23,
    type: "uint8",
    access: "R V",
    conformance: "NumberOfPrimaries > 1",
    quality: "X F"
  }),
  Attribute({
    name: "Primary3X",
    id: 25,
    type: "uint16",
    access: "R V",
    conformance: "NumberOfPrimaries > 2",
    constraint: "max 65279",
    quality: "F"
  }),
  Attribute({
    name: "Primary3Y",
    id: 26,
    type: "uint16",
    access: "R V",
    conformance: "NumberOfPrimaries > 2",
    constraint: "max 65279",
    quality: "F"
  }),
  Attribute({
    name: "Primary3Intensity",
    id: 27,
    type: "uint8",
    access: "R V",
    conformance: "NumberOfPrimaries > 2",
    quality: "X F"
  }),
  Attribute({
    name: "Primary4X",
    id: 32,
    type: "uint16",
    access: "R V",
    conformance: "NumberOfPrimaries > 3",
    constraint: "max 65279",
    quality: "F"
  }),
  Attribute({
    name: "Primary4Y",
    id: 33,
    type: "uint16",
    access: "R V",
    conformance: "NumberOfPrimaries > 3",
    constraint: "max 65279",
    quality: "F"
  }),
  Attribute({
    name: "Primary4Intensity",
    id: 34,
    type: "uint8",
    access: "R V",
    conformance: "NumberOfPrimaries > 3",
    quality: "X F"
  }),
  Attribute({
    name: "Primary5X",
    id: 36,
    type: "uint16",
    access: "R V",
    conformance: "NumberOfPrimaries > 4",
    constraint: "max 65279",
    quality: "F"
  }),
  Attribute({
    name: "Primary5Y",
    id: 37,
    type: "uint16",
    access: "R V",
    conformance: "NumberOfPrimaries > 4",
    constraint: "max 65279",
    quality: "F"
  }),
  Attribute({
    name: "Primary5Intensity",
    id: 38,
    type: "uint8",
    access: "R V",
    conformance: "NumberOfPrimaries > 4",
    quality: "X F"
  }),
  Attribute({
    name: "Primary6X",
    id: 40,
    type: "uint16",
    access: "R V",
    conformance: "NumberOfPrimaries > 5",
    constraint: "max 65279",
    quality: "F"
  }),
  Attribute({
    name: "Primary6Y",
    id: 41,
    type: "uint16",
    access: "R V",
    conformance: "NumberOfPrimaries > 5",
    constraint: "max 65279",
    quality: "F"
  }),
  Attribute({
    name: "Primary6Intensity",
    id: 42,
    type: "uint8",
    access: "R V",
    conformance: "NumberOfPrimaries > 5",
    quality: "X F"
  }),
  Attribute(
    { name: "WhitePointX", id: 48, type: "uint16", access: "RW VM", conformance: "O", constraint: "max 65279" }
  ),
  Attribute(
    { name: "WhitePointY", id: 49, type: "uint16", access: "RW VM", conformance: "O", constraint: "max 65279" }
  ),
  Attribute(
    { name: "ColorPointRx", id: 50, type: "uint16", access: "RW VM", conformance: "O", constraint: "max 65279" }
  ),
  Attribute(
    { name: "ColorPointRy", id: 51, type: "uint16", access: "RW VM", conformance: "O", constraint: "max 65279" }
  ),
  Attribute({ name: "ColorPointRIntensity", id: 52, type: "uint8", access: "RW VM", conformance: "O", quality: "X" }),
  Attribute(
    { name: "ColorPointGx", id: 54, type: "uint16", access: "RW VM", conformance: "O", constraint: "max 65279" }
  ),
  Attribute(
    { name: "ColorPointGy", id: 55, type: "uint16", access: "RW VM", conformance: "O", constraint: "max 65279" }
  ),
  Attribute({ name: "ColorPointGIntensity", id: 56, type: "uint8", access: "RW VM", conformance: "O", quality: "X" }),
  Attribute(
    { name: "ColorPointBx", id: 58, type: "uint16", access: "RW VM", conformance: "O", constraint: "max 65279" }
  ),
  Attribute(
    { name: "ColorPointBy", id: 59, type: "uint16", access: "RW VM", conformance: "O", constraint: "max 65279" }
  ),
  Attribute({ name: "ColorPointBIntensity", id: 60, type: "uint8", access: "RW VM", conformance: "O", quality: "X" }),
  Attribute({ name: "EnhancedCurrentHue", id: 16384, type: "uint16", access: "R V", conformance: "EHUE", quality: "N S Q" }),
  Attribute({
    name: "EnhancedColorMode",
    id: 16385,
    type: "EnhancedColorModeEnum",
    access: "R V",
    conformance: "M",
    quality: "N S"
  }),
  Attribute(
    {
      name: "ColorLoopActive",
      id: 16386,
      type: "enum8",
      access: "R V",
      conformance: "CL",
      constraint: "max 1",
      quality: "N S"
    },
    Field({ name: "Inactive", id: 0 }),
    Field({ name: "Active", id: 1 })
  ),
  Attribute({
    name: "ColorLoopDirection",
    id: 16387,
    type: "ColorLoopDirectionEnum",
    access: "R V",
    conformance: "CL",
    quality: "N S"
  }),
  Attribute({ name: "ColorLoopTime", id: 16388, type: "uint16", access: "R V", conformance: "CL", quality: "N S" }),
  Attribute({ name: "ColorLoopStartEnhancedHue", id: 16389, type: "uint16", access: "R V", conformance: "CL" }),
  Attribute({ name: "ColorLoopStoredEnhancedHue", id: 16390, type: "uint16", access: "R V", conformance: "CL" }),
  Attribute(
    { name: "ColorCapabilities", id: 16394, type: "map16", access: "R V", conformance: "M", constraint: "max 31" },
    Field({ name: "HueSaturation", constraint: "0" }),
    Field({ name: "EnhancedHue", constraint: "1" }),
    Field({ name: "ColorLoop", constraint: "2" }),
    Field({ name: "XY", constraint: "3" }),
    Field({ name: "ColorTemperature", constraint: "4" })
  ),
  Attribute({
    name: "ColorTempPhysicalMinMireds",
    id: 16395,
    type: "uint16",
    access: "R V",
    conformance: "CT",
    constraint: "1 to 65279"
  }),
  Attribute({
    name: "ColorTempPhysicalMaxMireds",
    id: 16396,
    type: "uint16",
    access: "R V",
    conformance: "CT",
    constraint: "max 65279"
  }),
  Attribute({
    name: "CoupleColorTempToLevelMinMireds",
    id: 16397,
    type: "uint16",
    access: "R V",
    conformance: "CT & ColorTemperatureMireds",
    constraint: "colorTempPhysicalMinMireds to colorTemperatureMireds"
  }),
  Attribute({
    name: "StartUpColorTemperatureMireds",
    id: 16400,
    type: "uint16",
    access: "RW VM",
    conformance: "CT & ColorTemperatureMireds",
    constraint: "1 to 65279",
    quality: "X N"
  }),
  Command(
    { name: "MoveToHue", id: 0, access: "O", conformance: "HS", direction: "request", response: "status" },
    Field({ name: "Hue", id: 0, type: "uint8", conformance: "M", constraint: "max 254" }),
    Field({ name: "Direction", id: 1, type: "DirectionEnum", conformance: "M" }),
    Field({ name: "TransitionTime", id: 2, type: "uint16", conformance: "M", constraint: "max 65534" }),
    Field({ name: "OptionsMask", id: 3, type: "OptionsBitmap", conformance: "M", constraint: "desc" }),
    Field({ name: "OptionsOverride", id: 4, type: "OptionsBitmap", conformance: "M", constraint: "desc" })
  ),
  Command(
    { name: "MoveHue", id: 1, access: "O", conformance: "HS", direction: "request", response: "status" },
    Field({ name: "MoveMode", id: 0, type: "MoveModeEnum", conformance: "M" }),
    Field({ name: "Rate", id: 1, type: "uint8", conformance: "M" }),
    Field({ name: "OptionsMask", id: 2, type: "OptionsBitmap", conformance: "M", constraint: "desc" }),
    Field({ name: "OptionsOverride", id: 3, type: "OptionsBitmap", conformance: "M", constraint: "desc" })
  ),
  Command(
    { name: "StepHue", id: 2, access: "O", conformance: "HS", direction: "request", response: "status" },
    Field({ name: "StepMode", id: 0, type: "StepModeEnum", conformance: "M" }),
    Field({ name: "StepSize", id: 1, type: "uint8", conformance: "M" }),
    Field({ name: "TransitionTime", id: 2, type: "uint8", conformance: "M" }),
    Field({ name: "OptionsMask", id: 3, type: "OptionsBitmap", conformance: "M", constraint: "desc" }),
    Field({ name: "OptionsOverride", id: 4, type: "OptionsBitmap", conformance: "M", constraint: "desc" })
  ),
  Command(
    { name: "MoveToSaturation", id: 3, access: "O", conformance: "HS", direction: "request", response: "status" },
    Field({ name: "Saturation", id: 0, type: "uint8", conformance: "M", constraint: "max 254" }),
    Field({ name: "TransitionTime", id: 1, type: "uint16", conformance: "M", constraint: "max 65534" }),
    Field({ name: "OptionsMask", id: 2, type: "OptionsBitmap", conformance: "M", constraint: "desc" }),
    Field({ name: "OptionsOverride", id: 3, type: "OptionsBitmap", conformance: "M", constraint: "desc" })
  ),
  Command(
    { name: "MoveSaturation", id: 4, access: "O", conformance: "HS", direction: "request", response: "status" },
    Field({ name: "MoveMode", id: 0, type: "MoveModeEnum", conformance: "M" }),
    Field({ name: "Rate", id: 1, type: "uint8", conformance: "M" }),
    Field({ name: "OptionsMask", id: 2, type: "OptionsBitmap", conformance: "M", constraint: "desc" }),
    Field({ name: "OptionsOverride", id: 3, type: "OptionsBitmap", conformance: "M", constraint: "desc" })
  ),
  Command(
    { name: "StepSaturation", id: 5, access: "O", conformance: "HS", direction: "request", response: "status" },
    Field({ name: "StepMode", id: 0, type: "StepModeEnum", conformance: "M" }),
    Field({ name: "StepSize", id: 1, type: "uint8", conformance: "M" }),
    Field({ name: "TransitionTime", id: 2, type: "uint8", conformance: "M" }),
    Field({ name: "OptionsMask", id: 3, type: "OptionsBitmap", conformance: "M", constraint: "desc" }),
    Field({ name: "OptionsOverride", id: 4, type: "OptionsBitmap", conformance: "M", constraint: "desc" })
  ),
  Command(
    {
      name: "MoveToHueAndSaturation",
      id: 6,
      access: "O",
      conformance: "HS",
      direction: "request",
      response: "status"
    },
    Field({ name: "Hue", id: 0, type: "uint8", conformance: "M", constraint: "max 254" }),
    Field({ name: "Saturation", id: 1, type: "uint8", conformance: "M", constraint: "max 254" }),
    Field({ name: "TransitionTime", id: 2, type: "uint16", conformance: "M", constraint: "max 65534" }),
    Field({ name: "OptionsMask", id: 3, type: "OptionsBitmap", conformance: "M", constraint: "desc" }),
    Field({ name: "OptionsOverride", id: 4, type: "OptionsBitmap", conformance: "M", constraint: "desc" })
  ),
  Command(
    { name: "MoveToColor", id: 7, access: "O", conformance: "XY", direction: "request", response: "status" },
    Field({ name: "ColorX", id: 0, type: "uint16", conformance: "M", constraint: "max 65279" }),
    Field({ name: "ColorY", id: 1, type: "uint16", conformance: "M", constraint: "max 65279" }),
    Field({ name: "TransitionTime", id: 2, type: "uint16", conformance: "M", constraint: "max 65534" }),
    Field({ name: "OptionsMask", id: 3, type: "OptionsBitmap", conformance: "M", constraint: "desc" }),
    Field({ name: "OptionsOverride", id: 4, type: "OptionsBitmap", conformance: "M", constraint: "desc" })
  ),
  Command(
    { name: "MoveColor", id: 8, access: "O", conformance: "XY", direction: "request", response: "status" },
    Field({ name: "RateX", id: 0, type: "int16", conformance: "M" }),
    Field({ name: "RateY", id: 1, type: "int16", conformance: "M" }),
    Field({ name: "OptionsMask", id: 2, type: "OptionsBitmap", conformance: "M", constraint: "desc" }),
    Field({ name: "OptionsOverride", id: 3, type: "OptionsBitmap", conformance: "M", constraint: "desc" })
  ),
  Command(
    { name: "StepColor", id: 9, access: "O", conformance: "XY", direction: "request", response: "status" },
    Field({ name: "StepX", id: 0, type: "int16", conformance: "M" }),
    Field({ name: "StepY", id: 1, type: "int16", conformance: "M" }),
    Field({ name: "TransitionTime", id: 2, type: "uint16", conformance: "M", constraint: "max 65534" }),
    Field({ name: "OptionsMask", id: 3, type: "OptionsBitmap", conformance: "M", constraint: "desc" }),
    Field({ name: "OptionsOverride", id: 4, type: "OptionsBitmap", conformance: "M", constraint: "desc" })
  ),
  Command(
    {
      name: "MoveToColorTemperature",
      id: 10,
      access: "O",
      conformance: "CT",
      direction: "request",
      response: "status"
    },
    Field({ name: "ColorTemperatureMireds", id: 0, type: "uint16", conformance: "M", constraint: "max 65279" }),
    Field({ name: "TransitionTime", id: 1, type: "uint16", conformance: "M", constraint: "max 65534" }),
    Field({ name: "OptionsMask", id: 2, type: "OptionsBitmap", conformance: "M", constraint: "desc" }),
    Field({ name: "OptionsOverride", id: 3, type: "OptionsBitmap", conformance: "M", constraint: "desc" })
  ),
  Command(
    {
      name: "EnhancedMoveToHue",
      id: 64,
      access: "O",
      conformance: "EHUE",
      direction: "request",
      response: "status"
    },
    Field({ name: "EnhancedHue", id: 0, type: "uint16", conformance: "M" }),
    Field({ name: "Direction", id: 1, type: "DirectionEnum", conformance: "M" }),
    Field({ name: "TransitionTime", id: 2, type: "uint16", conformance: "M", constraint: "max 65534" }),
    Field({ name: "OptionsMask", id: 3, type: "OptionsBitmap", conformance: "M", constraint: "desc" }),
    Field({ name: "OptionsOverride", id: 4, type: "OptionsBitmap", conformance: "M", constraint: "desc" })
  ),
  Command(
    {
      name: "EnhancedMoveHue",
      id: 65,
      access: "O",
      conformance: "EHUE",
      direction: "request",
      response: "status"
    },
    Field({ name: "MoveMode", id: 0, type: "MoveModeEnum", conformance: "M", constraint: "desc" }),
    Field({ name: "Rate", id: 1, type: "uint16", conformance: "M" }),
    Field({ name: "OptionsMask", id: 2, type: "OptionsBitmap", conformance: "M", constraint: "desc" }),
    Field({ name: "OptionsOverride", id: 3, type: "OptionsBitmap", conformance: "M", constraint: "desc" })
  ),
  Command(
    {
      name: "EnhancedStepHue",
      id: 66,
      access: "O",
      conformance: "EHUE",
      direction: "request",
      response: "status"
    },
    Field({ name: "StepMode", id: 0, type: "StepModeEnum", conformance: "M", constraint: "desc" }),
    Field({ name: "StepSize", id: 1, type: "uint16", conformance: "M" }),
    Field({ name: "TransitionTime", id: 2, type: "uint16", conformance: "M", constraint: "max 65534" }),
    Field({ name: "OptionsMask", id: 3, type: "OptionsBitmap", conformance: "M", constraint: "desc" }),
    Field({ name: "OptionsOverride", id: 4, type: "OptionsBitmap", conformance: "M", constraint: "desc" })
  ),
  Command(
    {
      name: "EnhancedMoveToHueAndSaturation",
      id: 67,
      access: "O",
      conformance: "EHUE",
      direction: "request",
      response: "status"
    },
    Field({ name: "EnhancedHue", id: 0, type: "uint16", conformance: "M" }),
    Field({ name: "Saturation", id: 1, type: "uint8", conformance: "M", constraint: "max 254" }),
    Field({ name: "TransitionTime", id: 2, type: "uint16", conformance: "M", constraint: "max 65534" }),
    Field({ name: "OptionsMask", id: 3, type: "OptionsBitmap", conformance: "M", constraint: "desc" }),
    Field({ name: "OptionsOverride", id: 4, type: "OptionsBitmap", conformance: "M", constraint: "desc" })
  ),
  Command(
    { name: "ColorLoopSet", id: 68, access: "O", conformance: "CL", direction: "request", response: "status" },
    Field({ name: "UpdateFlags", id: 0, type: "UpdateFlagsBitmap", conformance: "M" }),
    Field({ name: "Action", id: 1, type: "ColorLoopActionEnum", conformance: "M" }),
    Field({ name: "Direction", id: 2, type: "ColorLoopDirectionEnum", conformance: "M" }),
    Field({ name: "Time", id: 3, type: "uint16", conformance: "M" }),
    Field({ name: "StartHue", id: 4, type: "uint16", conformance: "M" }),
    Field({ name: "OptionsMask", id: 5, type: "OptionsBitmap", conformance: "M", constraint: "desc" }),
    Field({ name: "OptionsOverride", id: 6, type: "OptionsBitmap", conformance: "M", constraint: "desc" })
  ),
  Command(
    {
      name: "StopMoveStep",
      id: 71,
      access: "O",
      conformance: "HS | XY | CT",
      direction: "request",
      response: "status"
    },
    Field({ name: "OptionsMask", id: 0, type: "OptionsBitmap", conformance: "M", constraint: "desc" }),
    Field({ name: "OptionsOverride", id: 1, type: "OptionsBitmap", conformance: "M", constraint: "desc" })
  ),
  Command(
    {
      name: "MoveColorTemperature",
      id: 75,
      access: "O",
      conformance: "CT",
      direction: "request",
      response: "status"
    },
    Field({ name: "MoveMode", id: 0, type: "MoveModeEnum", conformance: "M" }),
    Field({ name: "Rate", id: 1, type: "uint16", conformance: "M" }),
    Field({ name: "ColorTemperatureMinimumMireds", id: 2, type: "uint16", conformance: "M", constraint: "max 65279" }),
    Field({ name: "ColorTemperatureMaximumMireds", id: 3, type: "uint16", conformance: "M", constraint: "max 65279" }),
    Field({ name: "OptionsMask", id: 4, type: "OptionsBitmap", conformance: "M", constraint: "desc" }),
    Field({ name: "OptionsOverride", id: 5, type: "OptionsBitmap", conformance: "M", constraint: "desc" })
  ),
  Command(
    {
      name: "StepColorTemperature",
      id: 76,
      access: "O",
      conformance: "CT",
      direction: "request",
      response: "status"
    },
    Field({ name: "StepMode", id: 0, type: "StepModeEnum", conformance: "M" }),
    Field({ name: "StepSize", id: 1, type: "uint16", conformance: "M" }),
    Field({ name: "TransitionTime", id: 2, type: "uint16", conformance: "M", constraint: "max 65534" }),
    Field({ name: "ColorTemperatureMinimumMireds", id: 3, type: "uint16", conformance: "M", constraint: "max 65279" }),
    Field({ name: "ColorTemperatureMaximumMireds", id: 4, type: "uint16", conformance: "M", constraint: "max 65279" }),
    Field({ name: "OptionsMask", id: 5, type: "OptionsBitmap", conformance: "M", constraint: "desc" }),
    Field({ name: "OptionsOverride", id: 6, type: "OptionsBitmap", conformance: "M", constraint: "desc" })
  ),
  Datatype({ name: "OptionsBitmap", type: "map8" }, Field({ name: "ExecuteIfOff", constraint: "0" })),
  Datatype(
    { name: "UpdateFlagsBitmap", type: "map8" },
    Field({ name: "UpdateAction", constraint: "0" }),
    Field({ name: "UpdateDirection", constraint: "1" }),
    Field({ name: "UpdateTime", constraint: "2" }),
    Field({ name: "UpdateStartHue", constraint: "3" })
  ),
  Datatype(
    { name: "DriftCompensationEnum", type: "enum8" },
    Field({ name: "None", id: 0, conformance: "M" }),
    Field({ name: "OtherOrUnknown", id: 1, conformance: "M" }),
    Field({ name: "TemperatureMonitoring", id: 2, conformance: "M" }),
    Field({ name: "OpticalLuminanceMonitoringAndFeedback", id: 3, conformance: "M" }),
    Field({ name: "OpticalColorMonitoringAndFeedback", id: 4, conformance: "M" })
  ),
  Datatype(
    { name: "ColorModeEnum", type: "enum8" },
    Field({ name: "CurrentHueAndCurrentSaturation", id: 0, conformance: "M" }),
    Field({ name: "CurrentXAndCurrentY", id: 1, conformance: "M" }),
    Field({ name: "ColorTemperatureMireds", id: 2, conformance: "M" })
  ),
  Datatype(
    { name: "EnhancedColorModeEnum", type: "enum8" },
    Field({ name: "CurrentHueAndCurrentSaturation", id: 0, conformance: "M" }),
    Field({ name: "CurrentXAndCurrentY", id: 1, conformance: "M" }),
    Field({ name: "ColorTemperatureMireds", id: 2, conformance: "M" }),
    Field({ name: "EnhancedCurrentHueAndCurrentSaturation", id: 3, conformance: "M" })
  ),
  Datatype(
    { name: "DirectionEnum", type: "enum8" },
    Field({ name: "Shortest", id: 0, conformance: "M" }),
    Field({ name: "Longest", id: 1, conformance: "M" }),
    Field({ name: "Up", id: 2, conformance: "M" }),
    Field({ name: "Down", id: 3, conformance: "M" })
  ),
  Datatype(
    { name: "MoveModeEnum", type: "enum8" },
    Field({ name: "Stop", id: 0, conformance: "M" }),
    Field({ name: "Up", id: 1, conformance: "M" }),
    Field({ name: "Down", id: 3, conformance: "M" })
  ),
  Datatype(
    { name: "StepModeEnum", type: "enum8" },
    Field({ name: "Up", id: 1, conformance: "M" }),
    Field({ name: "Down", id: 3, conformance: "M" })
  ),
  Datatype(
    { name: "ColorLoopActionEnum", type: "enum8" },
    Field({ name: "Deactivate", id: 0, conformance: "M" }),
    Field({ name: "ActivateFromColorLoopStartEnhancedHue", id: 1, conformance: "M" }),
    Field({ name: "ActivateFromEnhancedCurrentHue", id: 2, conformance: "M" })
  ),
  Datatype(
    { name: "ColorLoopDirectionEnum", type: "enum8" },
    Field({ name: "Decrement", id: 0, conformance: "M" }),
    Field({ name: "Increment", id: 1, conformance: "M" })
  )
);
MatterDefinition.children.push(ColorControl);
export {
  ColorControl
};
//# sourceMappingURL=color-control.element.js.map
