Grouping entities for automation templates

I am currently looking at this blueprint. My goal is to rip out the scenes and replace them with my logic to copy a default light.