Can you please explain what exactly you want to achieve? What do you want to happen when the water alarm is activated and what do you want to happen when the water alarm is deactivated after having been active? Most probably I can help when I know these two things…