How to customize/rewrite existing light effects?

Hi everyone,
I’d really like to customize a little bit the twinkle effect that I find in ESPHome’s light effects. I have an idea for a xmas decoration! :grin:
I am trying to rewrite the effect in a lambda function, but it seems a very very hard task. It’s not possible to simply copy/paste the code at https://github.com/esphome/esphome/blob/3afb564a486b7f4744d58639b073575113b7314b/esphome/components/light/addressable_light_effect.h into a lambda. It has to be rewritten entirely.
Any suggestion on the best way to duplicate and customize a light effect?

Thanks!

Does this thread help? Share your Esphome light effects

1 Like

Oh yes! Especially when someone says

I highly recommend taking a look at WLED

:rofl:

Thanks!