docs/interfaces/ColorControlState.html
ColorControl cluster state Based on @matter/main/clusters ColorControl
Note: We use a flexible interface to accommodate both ColorMode and EnhancedColorMode from Matter.js, which are distinct types in the spec but functionally compatible
interface ColorControlState {
colorMode?: number;
colorTemperatureMireds?: number;
colorTempPhysicalMaxMireds?: number;
colorTempPhysicalMinMireds?: number;
colorX?: number;
colorY?: number;
coupleColorTempToLevelMinMireds?: number;
currentHue?: number;
currentSaturation?: number;
currentX?: number;
currentY?: number;
enhancedColorMode?: number;
enhancedCurrentHue?: number;
options?: number;
transitionTime?: number;
}
colorMode?colorTemperatureMireds?colorTempPhysicalMaxMireds?colorTempPhysicalMinMireds?colorX?colorY?coupleColorTempToLevelMinMireds?currentHue?currentSaturation?currentX?currentY?enhancedColorMode?enhancedCurrentHue?options?transitionTime?
OptionalcolorModecolorMode?: number
OptionalcolorTemperatureMiredscolorTemperatureMireds?: number
OptionalcolorTempPhysicalMaxMiredscolorTempPhysicalMaxMireds?: number
OptionalcolorTempPhysicalMinMiredscolorTempPhysicalMinMireds?: number
OptionalcolorXcolorX?: number
OptionalcolorYcolorY?: number
OptionalcoupleColorTempToLevelMinMiredscoupleColorTempToLevelMinMireds?: number
OptionalcurrentHuecurrentHue?: number
OptionalcurrentSaturationcurrentSaturation?: number
OptionalcurrentXcurrentX?: number
OptionalcurrentYcurrentY?: number
OptionalenhancedColorModeenhancedColorMode?: number
OptionalenhancedCurrentHueenhancedCurrentHue?: number
Optionaloptionsoptions?: number
OptionaltransitionTimetransitionTime?: number
Member Visibility
ThemeOSLightDark
Properties colorModecolorTemperatureMiredscolorTempPhysicalMaxMiredscolorTempPhysicalMinMiredscolorXcolorYcoupleColorTempToLevelMinMiredscurrentHuecurrentSaturationcurrentXcurrentYenhancedColorModeenhancedCurrentHueoptionstransitionTime