zigbee-herdsman
    Preparing search index...

    Type Alias ClusterOrRawWriteAttributes<Cl, Custom>

    ClusterOrRawWriteAttributes: TClusterAttributes<Cl> extends never
        ? Custom extends TCustomCluster
            ? Custom["attributes"] extends never
                ? RawClusterAttributes
                : Custom["attributes"] & RawClusterAttributes
            : RawClusterAttributes
        : Cl extends keyof TClusters
            ? (
                Custom extends TCustomCluster
                    ? Custom["attributes"] extends never
                        ? TClusterAttributes<Cl>
                        : Custom["attributes"] & TClusterAttributes<Cl>
                    : TClusterAttributes<Cl>
            ) & RawClusterAttributes
            : Custom extends TCustomCluster
                ? Custom["attributes"] extends never
                    ? RawClusterAttributes
                    : Custom["attributes"] & RawClusterAttributes
                : RawClusterAttributes

    Type Parameters

    • Cl extends string | number
    • Custom extends TCustomCluster | undefined = undefined