From 5557d55701632339d5527279bfcd5b5cff057b18 Mon Sep 17 00:00:00 2001 From: twoenter <52216337+twoenter@users.noreply.github.com> Date: Mon, 6 Jan 2025 08:34:45 +0100 Subject: [PATCH] Update partition.rst Provided an extra example for RGBIC + CCTIC ledstrips. It took me quite some time to find this myself so I thought the docs could use a extra example --- components/light/partition.rst | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/components/light/partition.rst b/components/light/partition.rst index 50778b13af..9c4d5792a9 100644 --- a/components/light/partition.rst +++ b/components/light/partition.rst @@ -87,6 +87,36 @@ Joining multiple LED lights into one internal: true # Other settings + # Example for joining multiple segments of one source. + # For example when using RGBIC + CCTIC addressable LED strips. + # These can have the RGBIC LEDs on the even addresses and the CCTIC LEDs on the odd addresses. + - platform: partition + name: "Odd leds" + segments: + # first odd led + - id: light1 + from: 1 + to: 1 + # second odd led + - id: light1 + from: 3 + to: 3 + # etc. + + - platform: partition + name: "Even leds" + segments: + # first even led + - id: light1 + from: 0 + to: 0 + # second even led + - id: light1 + from: 2 + to: 2 + # etc. + + Configuration variables: ------------------------