I’m converting my scenes to PLEG.
I have one scene that has 2 different schedules, one for the weekdays and one for the weekend.
Now in PLEG I need to create 2 schedules and then 2 actions associated. But the actions would be the same.
As I was writing this I thought of creating another condition that checks if either of them are true and then fire just one action.
Would that be the correct way of doing it?
What I was going to ask is if it were possible to call actions by name and use them programmatically, to call one action from another. This way I could have common parts and call what I need.
It would be less work when setting things up.