The present invention describes a spraying device comprising: a housing adapted to receive a container of fluid; actuation means configured, in use, for periodic actuation of the container of fluid; motion sensor means; a controller in operable communication with said actuation means and said motion sensor means; wherein the actuation means is operable, in use, to actuate at a time interval of t1; and wherein the motion sensor means is operable, in use, to detect motion in the vicinity of the device and communicate any detection to the controller which causes the actuation means to actuate; and wherein subsequent detection of motion by the motion sensor is communicated to the controller which causes the actuation means to actuate at a time interval of t2; and wherein t2≦̸t1. The present invention further describes a method of spraying fluid from a container.