Documentation
    Preparing search index...

    Variable wave2SetLightStripSchemaConst

    wave2SetLightStripSchema: ZodObject<
        extendShape<
            {
                id: ZodNumber;
                moduleType: ZodLiteral<1>;
                sn: ZodType<`KT21${string}`, ZodTypeDef, `KT21${string}`>;
                version: ZodLiteral<"1.0">;
            },
            {
                operateType: ZodLiteral<"rgbState">;
                params: ZodObject<
                    {
                        rgbState: ZodUnion<
                            [ZodUnion<[ZodLiteral<0>, ZodLiteral<1>]>, ZodLiteral<2>],
                        >;
                    },
                    "strip",
                    ZodTypeAny,
                    { rgbState: 0
                    | 1
                    | 2 },
                    { rgbState: 0 | 1 | 2 },
                >;
            },
        >,
        "strip",
        ZodTypeAny,
        {
            id: number;
            moduleType: 1;
            operateType: "rgbState";
            params: { rgbState: 0
            | 1
            | 2 };
            sn: `KT21${string}`;
            version: "1.0";
        },
        {
            id: number;
            moduleType: 1;
            operateType: "rgbState";
            params: { rgbState: 0
            | 1
            | 2 };
            sn: `KT21${string}`;
            version: "1.0";
        },
    > = ...

    Light strip settings (0: Follow the screen; 1: Always on; 2: Always off; other parameters indicate “Always off”)

    {
    "id": 123456789,
    "version": "1.0",
    "sn": "KT21ZCH2ZF170012",
    "moduleType": 1,
    "operateType": "rgbState",
    "params": { "rgbState": 1 } }