It seems that when the strip is a single segment I need to use the entity light.wled to toggle power. However when using the segmented preset, I need to use light.wled_main to toggle the entire strip (light.wled just turns off the first segment in this case). Is this a bug?
Does the integration not support a general on/off switch? Is there a custom component that can save me? Or do I need to manually interact with the API of the controller?
Ran into this issue myself. The playlist I used has any number of segments and the entity that needed to be toggled changes between presets.
Ultimately, I ended up using HA to load a preset in WLED that toggled the power from inside the light. If you don’t already have a preset to do that, you can make one by entering the command T=0 into the presets “API command” field. Uncheck “Use current state” if you don’t see the “API command” field when creating the preset in WLED.
Thanks for sharing your solution. I should have come back to this, in the end the way I solved it was by putting the ‘WLED’ and ‘Main’ entities in a group.