If the whole intensions being to fake lighting when you are not home. I think there are multiple ways to do the same.
- to build your own automation, just like this discussion thread so far
- There are blueprint for this, I found at least one:
Holiday & Away Lighting - Blueprints Exchange - Home Assistant Community - and then, there is also HACS integration out there also. I'm using this one just like #3 above: slashback100/presence_simulation: Home Assistant Presence Simulation