ColorLoopComponent: {
    attributes: {
        colorLoopActive: Attribute<ColorControl.ColorLoopActive, any>;
        colorLoopDirection: Attribute<ColorControl.ColorLoopDirection, any>;
        colorLoopStartEnhancedHue: Attribute<number, any>;
        colorLoopStoredEnhancedHue: Attribute<number, any>;
        colorLoopTime: Attribute<number, any>;
    };
    commands: {
        colorLoopSet: Command<TypeFromFields, void, any>;
    };
}

A ColorControlCluster supports these elements if it supports feature ColorLoop.

Type declaration

  • Readonlyattributes: {
        colorLoopActive: Attribute<ColorControl.ColorLoopActive, any>;
        colorLoopDirection: Attribute<ColorControl.ColorLoopDirection, any>;
        colorLoopStartEnhancedHue: Attribute<number, any>;
        colorLoopStoredEnhancedHue: Attribute<number, any>;
        colorLoopTime: Attribute<number, any>;
    }
    • ReadonlycolorLoopActive: Attribute<ColorControl.ColorLoopActive, any>

      The ColorLoopActive attribute specifies the current active status of the color loop. If this attribute has the value 0, the color loop shall not be active. If this attribute has the value 1, the color loop shall be active. All other values (2 to 254) are reserved.

      MatterSpecification.v13.Cluster § 3.2.7.14

    • ReadonlycolorLoopDirection: Attribute<ColorControl.ColorLoopDirection, any>

      The ColorLoopDirection attribute specifies the current direction of the color loop. If this attribute has the value 0, the EnhancedCurrentHue attribute shall be decremented. If this attribute has the value 1, the EnhancedCurrentHue attribute shall be incremented. All other values (2 to 254) are reserved.

      MatterSpecification.v13.Cluster § 3.2.7.15

    • ReadonlycolorLoopStartEnhancedHue: Attribute<number, any>

      The ColorLoopStartEnhancedHue attribute specifies the value of the EnhancedCurrentHue attribute from which the color loop shall be started.

      MatterSpecification.v13.Cluster § 3.2.7.17

    • ReadonlycolorLoopStoredEnhancedHue: Attribute<number, any>

      The ColorLoopStoredEnhancedHue attribute specifies the value of the EnhancedCurrentHue attribute before the color loop was started. Once the color loop is complete, the EnhancedCurrentHue attribute shall be restored to this value.

      MatterSpecification.v13.Cluster § 3.2.7.18

    • ReadonlycolorLoopTime: Attribute<number, any>

      The ColorLoopTime attribute specifies the number of seconds it shall take to perform a full color loop, i.e., to cycle all values of the EnhancedCurrentHue attribute (between 0 and 0xFFFE).

      MatterSpecification.v13.Cluster § 3.2.7.16

  • Readonlycommands: {
        colorLoopSet: Command<TypeFromFields, void, any>;
    }
    • ReadonlycolorLoopSet: Command<TypeFromFields, void, any>

      The Color Loop Set command allows a color loop to be activated such that the color lamp cycles through its range of hues.

      MatterSpecification.v13.Cluster § 3.2.11.19