This cluster supports all LaundryWasherControls features. It may support illegal feature combinations.

If you use this cluster you must manually specify which features are active and ensure the set of active features is legal per the Matter specification.

interface Complete {
    attributes: Merge<{
        numberOfRinses: WritableAttribute<LaundryWasherControls.NumberOfRinses, any> & {
            isConditional: true;
            mandatoryIf: [] | [{
                rinse: boolean;
            }];
            optional: true;
            optionalIf: [] | ConditionalFeatureList<BitSchema>;
        };
        spinSpeedCurrent: WritableAttribute<null | number, any> & {
            isConditional: true;
            mandatoryIf: [] | [{
                spin: boolean;
            }];
            optional: true;
            optionalIf: [] | ConditionalFeatureList<BitSchema>;
        };
        spinSpeeds: Attribute<string[], any> & {
            isConditional: true;
            mandatoryIf: [] | [{
                spin: boolean;
            }];
            optional: true;
            optionalIf: [] | ConditionalFeatureList<BitSchema>;
        };
        supportedRinses: Attribute<LaundryWasherControls.NumberOfRinses[], any> & {
            isConditional: true;
            mandatoryIf: [] | [{
                rinse: boolean;
            }];
            optional: true;
            optionalIf: [] | ConditionalFeatureList<BitSchema>;
        };
    }, GlobalAttributes<{
        rinse: BitFlag;
        spin: BitFlag;
    }>>;
    base: undefined;
    commands: {};
    events: {};
    extensions: undefined;
    features: {
        rinse: BitFlag;
        spin: BitFlag;
    };
    id: Branded<Branded<83, "ClusterId">, "ClusterId">;
    name: "LaundryWasherControls";
    revision: 1;
    supportedFeatures: {};
    unknown: false;
    alter<const AlterationsT>(alterations: AlterationsT): WithAlterations<Of<{
        attributes: {
            numberOfRinses: WritableAttribute<LaundryWasherControls.NumberOfRinses, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    rinse: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            spinSpeedCurrent: WritableAttribute<null | number, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    spin: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            spinSpeeds: Attribute<string[], any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    spin: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            supportedRinses: Attribute<LaundryWasherControls.NumberOfRinses[], any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    rinse: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        features: {
            rinse: BitFlag;
            spin: BitFlag;
        };
        id: Branded<83, "ClusterId">;
        name: "LaundryWasherControls";
        revision: 1;
    }>, AlterationsT>;
    enable<const FlagsT>(flags: FlagsT): WithFlags<Of<{
        attributes: {
            numberOfRinses: WritableAttribute<LaundryWasherControls.NumberOfRinses, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    rinse: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            spinSpeedCurrent: WritableAttribute<null | number, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    spin: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            spinSpeeds: Attribute<string[], any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    spin: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            supportedRinses: Attribute<LaundryWasherControls.NumberOfRinses[], any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    rinse: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        features: {
            rinse: BitFlag;
            spin: BitFlag;
        };
        id: Branded<83, "ClusterId">;
        name: "LaundryWasherControls";
        revision: 1;
    }>, FlagsT>;
    set<const ValuesT>(values: ValuesT): WithValues<Of<{
        attributes: {
            numberOfRinses: WritableAttribute<LaundryWasherControls.NumberOfRinses, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    rinse: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            spinSpeedCurrent: WritableAttribute<null | number, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    spin: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            spinSpeeds: Attribute<string[], any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    spin: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            supportedRinses: Attribute<LaundryWasherControls.NumberOfRinses[], any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    rinse: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        features: {
            rinse: BitFlag;
            spin: BitFlag;
        };
        id: Branded<83, "ClusterId">;
        name: "LaundryWasherControls";
        revision: 1;
    }>, ValuesT>;
    with<const SelectionT>(...selection: SelectionT): Of<Of<{
        attributes: {
            numberOfRinses: WritableAttribute<LaundryWasherControls.NumberOfRinses, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    rinse: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            spinSpeedCurrent: WritableAttribute<null | number, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    spin: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            spinSpeeds: Attribute<string[], any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    spin: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            supportedRinses: Attribute<LaundryWasherControls.NumberOfRinses[], any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    rinse: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        features: {
            rinse: BitFlag;
            spin: BitFlag;
        };
        id: Branded<83, "ClusterId">;
        name: "LaundryWasherControls";
        revision: 1;
    }>, SelectionT>;
}

Hierarchy (view full)

Properties

attributes: Merge<{
    numberOfRinses: WritableAttribute<LaundryWasherControls.NumberOfRinses, any> & {
        isConditional: true;
        mandatoryIf: [] | [{
            rinse: boolean;
        }];
        optional: true;
        optionalIf: [] | ConditionalFeatureList<BitSchema>;
    };
    spinSpeedCurrent: WritableAttribute<null | number, any> & {
        isConditional: true;
        mandatoryIf: [] | [{
            spin: boolean;
        }];
        optional: true;
        optionalIf: [] | ConditionalFeatureList<BitSchema>;
    };
    spinSpeeds: Attribute<string[], any> & {
        isConditional: true;
        mandatoryIf: [] | [{
            spin: boolean;
        }];
        optional: true;
        optionalIf: [] | ConditionalFeatureList<BitSchema>;
    };
    supportedRinses: Attribute<LaundryWasherControls.NumberOfRinses[], any> & {
        isConditional: true;
        mandatoryIf: [] | [{
            rinse: boolean;
        }];
        optional: true;
        optionalIf: [] | ConditionalFeatureList<BitSchema>;
    };
}, GlobalAttributes<{
    rinse: BitFlag;
    spin: BitFlag;
}>>
base: undefined
commands: {}
events: {}
extensions: undefined
features: {
    rinse: BitFlag;
    spin: BitFlag;
}

Type declaration

  • Readonlyrinse: BitFlag

    Rinse

    This feature indicates multiple rinse cycles are supported in at least one supported mode. Note that some modes may not support selection of the number of rinse cycles even if this feature is supported.

    MatterSpecification.v13.Cluster § 8.6.4.2

  • Readonlyspin: BitFlag

    Spin

    This feature indicates multiple spin speeds are supported in at least one supported mode. Note that some modes may not support multiple spin speeds even if this feature is supported.

    MatterSpecification.v13.Cluster § 8.6.4.1

id: Branded<Branded<83, "ClusterId">, "ClusterId">
name
revision
supportedFeatures: {}
unknown

Methods

  • Modify elements using ElementModifier.alter.

    Type Parameters

    • const AlterationsT extends Alterations<Of<{
          attributes: {
              numberOfRinses: WritableAttribute<LaundryWasherControls.NumberOfRinses, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      rinse: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
              spinSpeedCurrent: WritableAttribute<null | number, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      spin: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
              spinSpeeds: Attribute<string[], any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      spin: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
              supportedRinses: Attribute<LaundryWasherControls.NumberOfRinses[], any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      rinse: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
          };
          features: {
              rinse: BitFlag;
              spin: BitFlag;
          };
          id: Branded<83, "ClusterId">;
          name: "LaundryWasherControls";
          revision: 1;
      }>>

    Parameters

    Returns WithAlterations<Of<{
        attributes: {
            numberOfRinses: WritableAttribute<LaundryWasherControls.NumberOfRinses, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    rinse: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            spinSpeedCurrent: WritableAttribute<null | number, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    spin: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            spinSpeeds: Attribute<string[], any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    spin: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            supportedRinses: Attribute<LaundryWasherControls.NumberOfRinses[], any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    rinse: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        features: {
            rinse: BitFlag;
            spin: BitFlag;
        };
        id: Branded<83, "ClusterId">;
        name: "LaundryWasherControls";
        revision: 1;
    }>, AlterationsT>

  • Modify elements using ElementModifier.enable.

    Type Parameters

    • const FlagsT extends ElementFlags<Of<{
          attributes: {
              numberOfRinses: WritableAttribute<LaundryWasherControls.NumberOfRinses, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      rinse: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
              spinSpeedCurrent: WritableAttribute<null | number, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      spin: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
              spinSpeeds: Attribute<string[], any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      spin: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
              supportedRinses: Attribute<LaundryWasherControls.NumberOfRinses[], any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      rinse: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
          };
          features: {
              rinse: BitFlag;
              spin: BitFlag;
          };
          id: Branded<83, "ClusterId">;
          name: "LaundryWasherControls";
          revision: 1;
      }>>

    Parameters

    Returns WithFlags<Of<{
        attributes: {
            numberOfRinses: WritableAttribute<LaundryWasherControls.NumberOfRinses, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    rinse: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            spinSpeedCurrent: WritableAttribute<null | number, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    spin: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            spinSpeeds: Attribute<string[], any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    spin: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            supportedRinses: Attribute<LaundryWasherControls.NumberOfRinses[], any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    rinse: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        features: {
            rinse: BitFlag;
            spin: BitFlag;
        };
        id: Branded<83, "ClusterId">;
        name: "LaundryWasherControls";
        revision: 1;
    }>, FlagsT>

  • Modify elements using ElementModifier.set.

    Type Parameters

    • const ValuesT extends {
          numberOfRinses?: number;
          spinSpeedCurrent?: null | number;
          spinSpeeds?: string[];
          supportedRinses?: number[];
      }

    Parameters

    Returns WithValues<Of<{
        attributes: {
            numberOfRinses: WritableAttribute<LaundryWasherControls.NumberOfRinses, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    rinse: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            spinSpeedCurrent: WritableAttribute<null | number, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    spin: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            spinSpeeds: Attribute<string[], any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    spin: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            supportedRinses: Attribute<LaundryWasherControls.NumberOfRinses[], any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    rinse: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        features: {
            rinse: BitFlag;
            spin: BitFlag;
        };
        id: Branded<83, "ClusterId">;
        name: "LaundryWasherControls";
        revision: 1;
    }>, ValuesT>

  • Select features using ClusterComposer.compose.

    Type Parameters

    • const SelectionT extends FeatureSelection<Of<{
          attributes: {
              numberOfRinses: WritableAttribute<LaundryWasherControls.NumberOfRinses, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      rinse: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
              spinSpeedCurrent: WritableAttribute<null | number, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      spin: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
              spinSpeeds: Attribute<string[], any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      spin: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
              supportedRinses: Attribute<LaundryWasherControls.NumberOfRinses[], any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      rinse: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
          };
          features: {
              rinse: BitFlag;
              spin: BitFlag;
          };
          id: Branded<83, "ClusterId">;
          name: "LaundryWasherControls";
          revision: 1;
      }>>

    Parameters

    Returns Of<Of<{
        attributes: {
            numberOfRinses: WritableAttribute<LaundryWasherControls.NumberOfRinses, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    rinse: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            spinSpeedCurrent: WritableAttribute<null | number, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    spin: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            spinSpeeds: Attribute<string[], any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    spin: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            supportedRinses: Attribute<LaundryWasherControls.NumberOfRinses[], any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    rinse: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        features: {
            rinse: BitFlag;
            spin: BitFlag;
        };
        id: Branded<83, "ClusterId">;
        name: "LaundryWasherControls";
        revision: 1;
    }>, SelectionT>