Please edit your post and format your pasted automation confg correctly. See point 11 here: Help us help you