Pyscript: Color swarm for all

A quick rework I did of the original color swarm pyscript found here:

The original only worked with a specific set of lights, I modified it so that any light entity in an area that supports color changes will be used.

Also added an option to specify a “type” for the swarm. If you use the “linear” animation type, it will effectively create a “chase” effect. To get your lights in the right order to do this chase effect, ensure their entity IDs are sequentially named in the order you want them to be in.

1 Like