Help with automation (new guy)

I use this (works perfectly)