I know I can send arguments to scripts as data. But why I can’t use the script syntax (and UI) to specify these arguments and how they behave?
Something very similar already exists when I create a script from a Blueprint.
If I could specify arguments in the Script creation interface (e.g. entity selector, limited to lights domain, plus light settings), then, when I use that script in an Automation, it could show the arguments in the nice UI/friendly way, as you see them in the script blueprint creator.