EnhancedHueComponent: {
    attributes: {
        enhancedCurrentHue: Attribute<number, any>;
    };
    commands: {
        enhancedMoveHue: Command<TypeFromFields, void, any>;
        enhancedMoveToHue: Command<TypeFromFields, void, any>;
        enhancedMoveToHueAndSaturation: Command<TypeFromFields, void, any>;
        enhancedStepHue: Command<TypeFromFields, void, any>;
    };
}

A ColorControlCluster supports these elements if it supports feature EnhancedHue.

Type declaration

  • Readonlyattributes: {
        enhancedCurrentHue: Attribute<number, any>;
    }
    • ReadonlyenhancedCurrentHue: Attribute<number, any>

      The EnhancedCurrentHue attribute represents non-equidistant steps along the CIE 1931 color triangle, and it provides 16-bits precision.

      The upper 8 bits of this attribute shall be used as an index in the implementation specific XY lookup table to provide the non-equidistance steps. The lower 8 bits shall be used to interpolate between these steps in a linear way in order to provide color zoom for the user.

      To provide compatibility with standard ZCL, the CurrentHue attribute shall contain a hue value in the range 0 to 254, calculated from the EnhancedCurrentHue attribute.

      MatterSpecification.v13.Cluster § 3.2.7.12

  • Readonlycommands: {
        enhancedMoveHue: Command<TypeFromFields, void, any>;
        enhancedMoveToHue: Command<TypeFromFields, void, any>;
        enhancedMoveToHueAndSaturation: Command<TypeFromFields, void, any>;
        enhancedStepHue: Command<TypeFromFields, void, any>;
    }
    • ReadonlyenhancedMoveHue: Command<TypeFromFields, void, any>

      The EnhancedMoveHue command allows lamps to be moved in a continuous stepped transition from their current hue to a target hue.

      MatterSpecification.v13.Cluster § 3.2.11.16

    • ReadonlyenhancedMoveToHue: Command<TypeFromFields, void, any>

      The EnhancedMoveToHue command allows lamps to be moved in a smooth continuous transition from their current hue to a target hue.

      MatterSpecification.v13.Cluster § 3.2.11.15

    • ReadonlyenhancedMoveToHueAndSaturation: Command<TypeFromFields, void, any>

      The EnhancedMoveToHueAndSaturation command allows lamps to be moved in a smooth continuous transition from their current hue to a target hue and from their current saturation to a target saturation.

      MatterSpecification.v13.Cluster § 3.2.11.18

    • ReadonlyenhancedStepHue: Command<TypeFromFields, void, any>

      The EnhancedStepHue command allows lamps to be moved in a stepped transition from their current hue to a target hue, resulting in a linear transition through XY space.

      MatterSpecification.v13.Cluster § 3.2.11.17