First automation re: z-wave PIR and z-wave dimmer

Please see the sticky post on, amongst other things, how to format your code so that it’s readable :wink: