Hi! Before I spend time trying to build the right structures, I wanted to check if it's possible: can you run a dynamic list of actions in parallel?
Using lights as a simple example, if I had a script that took a parameter "lights" that was a list of entities, e.g., ["light.living_room", "light.kitchen"], and I wanted to run a block that looked like this, is it possible to do that on the fly so that it works with different length lists?
- action: light.turn_on
target:
entity_id: light.living_room
data: {}
- action: light.turn_on
target:
entity_id: light.kitchen
data: {}```
Totally open to solutions other than a parallel: block; that just seemed the most straightforward. (I'm also aware that this is probably not really useful or necessary for turning on lights; I'm doing something more complicated but harder to explain, so I'm using lights as an example.)
Thanks!