Thanks @123 and @petro. I now have a more information on scenes and controller software. The issue I initially reported is pretty small. Once in a while I come downstairs in the morning and find a light on that should have been turned off. For the most part Home Assistant groups and HA scenes have served me pretty well. I think that the simple template and automation to come back behind me and “clean up” or maybe my new thought to use a template to only send off commands to lights that are on will really help.
My usual routine is to use scenes throughout the day/evening to set lighting based on what’s going on. TV, casual, evening, etc. Then to turn off whatever is on when I go to bed or leave.
Again, really appreciate the knowledge, it will help me in future en devours.