Creating an addressable_lambda
light effects is tedious: write the C++, compile, upload, enable the effect in Home Assistant, see if it works, repeat. It’s even worse when you make a mistake and the device crashes.
I created a python tool that compiles the effect as a standalone host executable (!) so you can run locally and it prints out the effect as ANSI escape codes in the terminal. It runs on Windows, macOS and linux.
Please try it at https://github.com/maruel/ellee and send feedback my way.
I included a few effect samples at ellee/samples at main · maruel/ellee · GitHub.