zigbee-herdsman
    Preparing search index...

    Type Alias PartialClusterOrRawWriteAttributes<Cl, Custom>

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

    Type Parameters

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