We have attached a sample file programmed with the application you describe below.
We have a keypad with 2 buttons, one says “Away”, and one says “Home”. We also created a variable, “Home or Away” with the same states.
In the away button’s Action tab, we define an action called Away which sets the variable to the “Away” state. On the hold tab for the button, we simply run this action. For the LED logic, we have set it to “Scene” based on the “Away” action. Thus, every time the parameters in the Away action are met (aka the variable is set to away), the LED will be on. The same is done for the home button, but with the variable will be set to Home.