added in the reed switch, first attempt
Reed Switch is working as it should