set_leds: name: Set LEDs description: Push segment data to an api_input color strip source fields: source_id: name: Source ID description: The api_input CSS source ID (e.g., css_abc12345) required: true selector: text: segments: name: Segments description: > List of segment objects. Each segment has: start (int, optional — defaults to 0), length (int, optional — defaults to the rest of the strip from start), mode ("solid"/"per_pixel"/"gradient"), color ([R,G,B] for solid), colors ([[R,G,B],...] for per_pixel/gradient). Example fill-whole-strip: [{"mode": "solid", "color": [255, 0, 0]}]. required: true selector: object: