Automating Leviton light switches

Thanks all! I think I got this working using jerrm’s instructions. I see you can trigger using state in the UI which allows me to choose entities. I think this is the same thing as bastero’s comments just via the UI.