Outdoor unit with water as a heat sink or heat source