Electronic water leak detection